Forceu/Gokapi

Bug: URL's after upload showing 'undefined' / Old JS version is still cached

abramter opened this issue · 4 comments

Hello,

So not sure if this has been seen before or not, but on my v1.9.0 which is setup using Docker, I am getting this bug once I upload a file. When the file finishes uploading, and the system shows you the 'Copy URL' or 'Copy Hotlink' buttons, once clicked I see this.

undefinedz29d7hoQabJOZOg

Screenshot_1

Screenshot_2

Once I refresh the admin page, the links are displayed correctly.

Hi, it seems that the old Javascript is still loaded. Does the error still appear if you reload without cache by pressing Ctrl+F5 to refresh the page?

Hi, it seems that the old Javascript is still loaded. Does the error still appear if you reload without cache by pressing Ctrl+F5 to refresh the page?

Yup that did it, seems like my browser wasn't clearing the old stuff even thou i forced it once I upgraded, thank you for the help.

Great to hear it is working now. Weird that the file was still cached, I did increase the version number, so it should have been reloaded... I will look into it.

I changed the versioning in f08490e, now caching should not be a problem anymore for new versions