Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-19300

Incorrect version after checkout on fast versioning

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0-HF29, 7.10-HF08, 8.3
    • Component/s: Core VCS
    • Tags:
    • Backlog priority:
      500
    • Sprint:
      nxFG 8.2.1

      Description

      In the standard versioning service, the version incrementing is based on the last version extraction.

      In the SQL core storage, the last version is identified by sorting the version series on the created version attribute. In case of multiple version being created at the same time, the version id is random and could harm the application.

      The caller is at org.nuxeo.ecm.core.versioning.StandardVersioningService.doCheckOut(Document) and the wrong implementation is at org.nuxeo.ecm.core.storage.sql.PersistenceContext.getVersionIds(Serializable).

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.