Ticket #603 (closed defect: fixed)

Opened 15 years ago

Last modified 14 years ago

translating documents seems to corrupt versioning information

Reported by: jmorliaguet Owned by: janguenot
Priority: P2 Milestone: CPS 3.4.0
Component: CPSCore Version: unspecified
Severity: major Keywords:
Cc:

Description (last modified by fguillaume) (diff)

translating documents seems to corrupt versioning information, i.e. after a document has been translated once, the publication of newer versions of the same document no longer increments version numbers in sections.

example:

  • a document is created (v.1) and published in 'sections' (v.1)
  • the document is translated (using the 'translate' action)
  • a new version (v.2) is created in the destination language
  • v.2 is published to replace v.1 in 'sections'
  • v.2 replaces v.1, the published version is now v.2
  • the document is translated again -> v.3 is now the work version
  • the document (v.3) is published over v.2 in 'sections'
  • v.2 should be replaced by v.3 in 'sections'

    the published version is still v.2 instead of v.3

  • the document is edited, v.4 is the current work version
  • the document is published in 'sections'

    the published version is still v.2 instead of v.4

all further modifications are not taken into account when the document is published again. the document's version stays at v.2.

this occurs as soon as the document is translated

Change History

comment:1 Changed 14 years ago by fguillaume

  • Description modified (diff)
  • Milestone changed from unspecified to CPS 3.4.0

comment:2 Changed 14 years ago by janguenot

  • Owner changed from trac to janguenot

comment:3 Changed 14 years ago by janguenot

  • Status changed from new to closed
  • Resolution set to fixed

This is not an actual bug. The behavior is correct and I added a test case in rev [29863] showing the correctness.

When you're publishing several revisions of the same document, like this after translations, the new revisions are taken well in account. What you didn't see is that the revision matching the language you choose is showing at first through the UI. If you're clicking on the document then all the language switchers appear and you can choose the latest revisions you submited.

Does it sound correct to you ?

Note: See TracTickets for help on using tickets.