SID-01272: Attachment opens an older version of the same
| Status: |
Answered |
TWiki version: |
5.1.0 |
Perl version: |
5.8.8 |
| Category: |
CategoryAttachments |
Server OS: |
Windows Server 2003 |
Last update: |
14 years ago |
I recently upgraded to twiki 5.1.0, and from that point on I'm trying to upload an new version of an exisiting xls attachment.
The uploading takes place fine, but when I try to view the attachment, it shows me the older version of attachment instead of the latest version.
I tried to delete the browser cache and I even tried doing the same on a new topic, but still the result is same.
Can you please help me to sort this out ?
--
RajeshN - 2011-09-12
Discussion and Answer
This seems like a browser cache issue, but then you deleted the browser cache. Not sure. What happens if you use a different browser, do you get the latest version of the attachment?
One workaround could be to always add a parameter with a version number to attachments links, e.g. instead of just
%PUBURL%/%WEB%/%TOPIC%/Myfile.xls you could write
%PUBURL%/%WEB%/%TOPIC%/Myfile.xls?r=3 in case the file is at revision 3.
--
PeterThoeny - 2011-09-12
Entering the revision number opened the proper xls. But the end users are used to using the code %ATTACHURL%/My.xls
Is there any option to show the latest version always ?
Or is there any option to disable attachment revisions ?
--
RajeshN - 2011-09-15
Any idea how to show the latest version always ???
--
RajeshN - 2011-09-21
Is there any way to stop the attchment revisions ?
--
RajeshN - 2011-11-16
Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the
TWiki consultants if you need timely help. We invite you to
get involved with the community, it is more likely you get community support if you support the open source project!
--
PeterThoeny - 2012-01-23
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.