Item12078: Wrong Revisions

pencil
Priority: Urgent
Current State: No Action Required
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: TopicInteractionPlugin
Branches:
Reported By: OliverSchaub
Waiting For:
Last Change By: MichaelDaum
TopicInteractionPlugin is showing wrong revisions. I tested this on several Topics in different Webs and allways got the same results.

I've uploaded a new File to a topic. Then, I uploaded the same file again. It displays correctly Version 2 uploaded by Oliver Schaub... but if I click on "more" to list the versions, it shows Version 6 uploaded by Oliver Schaub... I uploaded the Attachment one more time, the information changes correctly to "Version 3" but now on the Revisionslist, all revisions are "Version 6".

On other Topics all Revisions in the list are "Version 24" or "Version 18" and so on... I checked the Attachment-Folders and everything looks correct. There aren't even any Revision-Files with those (wrong) Revision-Numbers.

  • revisions.png:
    revisions.png

PS: We use TopicInteractionPlugin version 3.10 on Foswiki1.1.5

-- OliverSchaub - 18 Sep 2012

Can't repro. Works fine at https://demo.michaeldaumconsulting.com/Sandbox/TestTopic

Try this

<pre>
%ATTACHMENTS{
  include="Firefox_wallpaper.png"
  format="$oldversions"
}%
</pre>

It should output something like this:

18 Sep 2012 - 10:46;OliverSchaub;2;none
18 Sep 2012 - 10:33;OliverSchaub;1;none

-- MichaelDaum - 18 Sep 2012

The Output looks like this:
18 Sep 2012 - 11:58;OliverSchaub;8;save topic
18 Sep 2012 - 11:58;OliverSchaub;8;save topic

I just saw, when I save my Topic (just edit/save) the upload-Time of my attachments change to the new Save-Time as well, even I didn't change anything there...

-- OliverSchaub - 18 Sep 2012

Confirmed... if I save the Topic and force a new revision, the OLD revisions of my attachments get upped by one Number while the "actual" version stays correct.

Edit: Just made some more tests. If I disable TopicInteractionPlugin, all revisions are displayed and behaving as normal. I also tried with different types of Attachments (not only images) and the same effect is happening as well. So it looks like it is NOT ImagePlugin related.

Edit2: On a Foswiki-Setup with an older TopicInteractionPlugin installed (3.00) it is working. This Setup is basically the same as the productive (where it is NOT working) only some Plugins are older. Here a list of the "older" Plugins from the working Setup:

FilterPlugin -> 2.08
ImagePlugin -> 2.40
JQGridPlugin -> 2.02
LdapContrib -> 4.33
MetaCommentPlugin -> 1.11
NatEditPlugin -> 6.03
NewUserPlugin -> 2.30
SqlPlugin -> 1.01
StringifierContrib -> 2.10
TopicInteractionPlugin -> 3.00

On the Machine where it is NOT working, all Plugins are latest&gratest (from the extensions web)

-- OliverSchaub - 19 Sep 2012

We found the Culprit... it was this performance Patch: http://foswiki.org/pub/Tasks/Item11983/performance.patch Restoring the Files back to original resolved the Issue with the Revisioning.

-- OliverSchaub - 21 Sep 2012
 

ItemTemplate edit

Summary Wrong Revisions
ReportedBy OliverSchaub
Codebase 1.1.5
SVN Range
AppliesTo Extension
Component TopicInteractionPlugin
Priority Urgent
CurrentState No Action Required
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn n/a
CheckinsOnBranches
trunkCheckins
Release01x01Checkins
I Attachment Action Size Date Who Comment
revisions.pngpng revisions.png manage 8 K 18 Sep 2012 - 07:23 OliverSchaub  
Topic revision: r8 - 21 Sep 2012, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy