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

VersioningRules extension point configuration breaks fulltext indexing

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 5.8.0-HF16
    • Fix Version/s: 5.8.0-HF17
    • Component/s: Core VCS
    • Environment:
      Tested with PostgreSQL and H2 backend

      Description

      • Into Studio I add the following XML extension and deploy on the server:
      versioningRule.xml
      <extension point="versioningRules" target="org.nuxeo.ecm.core.versioning.VersioningService">
            <defaultVersioningRule>
              <initialState major="1" minor="0"/>
              <options lifeCycleState="*">
                  <none default="true"/>
                  <minor/>
                  <major/>
              </options>
              <options lifeCycleState="approved">
                  <none default="true"/>
                  <minor/>
              </options>
          </defaultVersioningRule>
          <versioningRule enabled="true" typeName="File">
              <initialState major="1" minor="1"/>
              <options lifeCycleState="project">
                  <none/>
                  <minor default="true"/>
              </options>
              <options lifeCycleState="approved"/>
          </versioningRule>
      </extension>
      
      • When I create a document and do a quick search and/or fulltext search, the document is suggested.
      • When I update the document, its old title triggers the suggestion, not its new one. Same with fulltext search.
      • If I remove the Studio configuration and update the document, quick search works fine again, same for fulltext search.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: