Uploaded image for project: 'Nuxeo Studio'
  1. Nuxeo Studio
  2. NXS-1259

Allow overriding of versioning rules from XML extensions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8.3
    • Fix Version/s: 2.8.4, 2.9
    • Component/s: None

      Description

      Since NXS-528, all document types are given a default versioning policy (waiting for it to be configurable in the interface), but this is added after XML extensions contributions, so it's not possible to customize them in the mean time.

      Steps to reproduce:

      • create a document type "MyDoc" and give it the "Versionable" facet => it will have default version increment
      • add an xml extension with following configuration:
      <extension target="org.nuxeo.ecm.core.versioning.VersioningService" point="versioningRules">
        <versioningRule typeName="MyDoc">
          <initialState major="0" minor="0"/>
          <options lifeCycleState="*">
            <!--<none default="true"/>-->
            <minor default="true" />
            <major/>
          </options>
        </versioningRule>
      </extension>
      

      => the custom configuration is not taken into account

        Attachments

          Activity

            People

            • Assignee:
              atchertchian Anahide Tchertchian
              Reporter:
              atchertchian Anahide Tchertchian
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: