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

Studio contrib should completely override existing ones.

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.3
    • Fix Version/s: 2.8
    • Component/s: Documents

      Description

      As Studio works as a meta-model that doesn't allow partial contribution (if you don't fill a value in a form, it means the value is empty, not "not contributed"), we should be consistent and make sure that extensions produced by default redefine existing ones if with the same id, not only override.

      origin of the demand:

      Sometimes, a user needs to override the previous definition of a document type defined in Nuxeo, like Workspace or Folder: for instance, he will need to redefine the accepted document types.

      But because of the default definition and the merge policy of the extension point, you can only add accepted document types.

      It would be interesting to add a checkbox to force the overriding and generate a contribution like

      <type id="Workspace" remove="true" />
      

      before the contribution corresponding to what was defined in Studio UI.

      Otherwise, we can think about implementing the deniedSubTypes attribute, but it won't solve all issues.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 2 hours
                  2h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified