You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Uploading a image with Advance Custom Field of same file name will cause the plugin to reuse the same version number. And due to I use AWS CloudFront to cache the image, therefore the url will maintain the old image for some time.
Actually it also happen on normal post, the "add media" button.
To Reproduce
Steps to reproduce the behavior:
Go add a new post/page > add media
Upload image of the same filename
Expected behavior
Use different version number
Or append -1 -2 -3 to the file name
UPDATE:
Is super weird, i tried everything, turn off plugin, reset the db table, everything possible can. And I eventually found out if my post/page year/month is the this year/month, it will rename the duplicate correctly. If any other year/month that is not this year/month will cause the bug to appear.
Conclusion:
It conflict with wordpress' native year/month folder setting, need to uncheck the box
The text was updated successfully, but these errors were encountered:
kentliau
changed the title
Bug: It will use the same version number if file name is the same
Bug: It will use the same version number if file name is the same in ACF custom image field
Jan 12, 2024
kentliau
changed the title
Bug: It will use the same version number if file name is the same in ACF custom image field
Bug: It will use the same version number and not appending -num to duplicate when in add media other than the media page itself
Jan 12, 2024
Describe the bug
Uploading a image with Advance Custom Field of same file name will cause the plugin to reuse the same version number. And due to I use AWS CloudFront to cache the image, therefore the url will maintain the old image for some time.
Actually it also happen on normal post, the "add media" button.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
UPDATE:
Is super weird, i tried everything, turn off plugin, reset the db table, everything possible can. And I eventually found out if my post/page year/month is the this year/month, it will rename the duplicate correctly. If any other year/month that is not this year/month will cause the bug to appear.
Conclusion:
It conflict with wordpress' native year/month folder setting, need to uncheck the box
The text was updated successfully, but these errors were encountered: