Tags:
create new tag
view all tags

SID-01272: Attachment opens an older version of the same

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title Attachment opens an older version of the same
SupportCategory CategoryAttachments
TWiki version 5.1.0
Server OS Windows Server 2003
Web server Apache 2.2.11
Perl version 5.8.8
Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r6 - 2012-01-23 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.