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

Improve file manager plugin system

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.2 M3
    • Fix Version/s: 5.2 M4
    • Component/s: None
    • Tags:
    • Impact type:
      API change
    • Upgrade notes:
      Hide
      • Do not implement the Plugin interface anymore, implement FileImporter interface.
      • retrieve the container path from the plugin if needed: path given to plugin will always be the current document path
      Show
      Do not implement the Plugin interface anymore, implement FileImporter interface. retrieve the container path from the plugin if needed: path given to plugin will always be the current document path

      Description

      File manager plugins to create documents is not flexible enough:

      • make it possible to pass the current document path, not only the container if document is not folderish. this is necessary when trying to update documents with drag & drop feature (and not only create new docs)
      • make it possible to disable the default behaviour, hardcoded in service, by putting it in a plugin registered by default, and add orders to make sure this default is last to be checked.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: