• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • None
    • 2.10
    • None

      Seem on extranet :

      atl-extranet-conf-cluster=> select * from content where title = 'Performance Management Project' and version =3 order by version;
       contentid  | contenttype |             title              | body | version | creator |      creationdate       | lastmodifier |       lastmoddate       |  prevver   |      spaceid      | parentid | blogspaceid | descspaceid | pageid | username | content_status | mailspaceid | messageid | parentcommentid | versioncomment | draftpageid | draftspacekey | drafttype | draftpageversion | child_position 
      ------------+-------------+--------------------------------+------+---------+---------+-------------------------+--------------+-------------------------+------------+-------------------+----------+-------------+-------------+--------+----------+----------------+-------------+-----------+-----------------+----------------+-------------+---------------+-----------+------------------+----------------
       1682376541 | PAGE        | Performance Management Project |      |       3 | jluijke | 2008-10-23 21:40:15.108 | jluijke      | 2008-10-23 21:44:21.643 |            | 69512637731700803 |          |             |             |        |          | deleted        |             |           |                 |                |             |               |           |                  |               
       1682608570 | PAGE        | Performance Management Project |      |       3 | jluijke | 2008-10-23 21:45:45.787 | jluijke      | 2008-10-23 21:52:51.845 | 1682376555 |                   |          |             |             |        |          | current        |           
      
      

      It would appear that if there are ever two concurrent calls to

      public void save(EntityObject objectToSave, EntityObject previousVersion)
      

      in VersionedHibernateObjectDao with the same previousVersion, duplicate page versions could be created.
      This is somewhat unlikely, as generally each call to save should have a new previousVersion, but it is possible if the initial transaction were to be delayed.

            [CONFSERVER-14107] Confluence can create two pages with the same version

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2896893 ] New: CONFSERVER Bug Workflow v4 [ 2990242 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2788404 ] New: JAC Bug Workflow v3 [ 2896893 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2724244 ] New: JAC Bug Workflow v2 [ 2788404 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2387347 ] New: JAC Bug Workflow [ 2724244 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2261687 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2387347 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2209566 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2261687 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2194666 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2209566 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1925564 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2194666 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1727666 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1925564 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1684212 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1727666 ]

              Unassigned Unassigned
              alynch Andrew Lynch (Inactive)
              Affected customers:
              3 This affects my team
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: