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

Add explorer template to disable validation

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: explorer-21.1.1
    • Component/s: Explorer

      Description

      Document validation is useless on explorer, and slows down imports.
      Make it possible to easily disable it by providing a dedicated template in the explorer package:

      <?xml version="1.0"?>
      <component name="org.nuxeo.ecm.core.api.DocumentValidationService.deactivation">
      
        <require>org.nuxeo.ecm.core.api.DocumentValidationService.activations</require>
      
        <extension target="org.nuxeo.ecm.core.api.DocumentValidationService" point="activations">
          <validation context="createDocument" activated="false" />
          <validation context="saveDocument" activated="false" />
          <validation context="importDocument" activated="false" />
        </extension>
      
      </component>
      

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: