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

Allow global disabling of facets, like Versionable

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.10-HF13, 11.1, 2021.0
    • Component/s: Core
    • Release Notes Summary:
      A facet can be globally disabled.
    • Upgrade notes:
      Hide

      To disable a facet, for instance Versionable, use a contribution like:

        <require>org.nuxeo.ecm.core.CoreExtensions</require>
        <extension target="org.nuxeo.ecm.core.schema.TypeService" point="doctype">
          <facet name="Versionable" enabled="false" />
        </extension>
      

      Of course the <require> line must reflect the actual component that declares the facet that one wants to disable.

      Show
      To disable a facet, for instance Versionable , use a contribution like: <require> org.nuxeo.ecm.core.CoreExtensions </require> <extension target= "org.nuxeo.ecm.core.schema.TypeService" point= "doctype" > <facet name= "Versionable" enabled= "false" /> </extension> Of course the <require> line must reflect the actual component that declares the facet that one wants to disable.
    • Sprint:
      nxFG 11.1.10
    • Story Points:
      5

      Description

      Add a feature to disable an existing facet (make it so that it's ignored whenever a doctype references it, or when the list of all facets is returned).

      Some use cases, like Retention & Hold, require that no versions are created in the platform. With this feature, this becomes possible by simply disabling the Versionable facet.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 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 - 3 hours
                  3h