Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-1154

Persist the server's UI into the local configuration database

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.6
    • Fix Version/s: 3.1.0
    • Component/s: Metadata Edit

      Description

      How to reproduce

      • Install only webui and drive on a server instance
      • create a new workspace and add some files to it
      • sync the files with drive
      • try to edit one of the files metadata from your computer drive folder
      • you go to a not found page(error)

      Issue

      Drive is using jsf by default and if the server configuration has not been retreived before the Direct Edit call, then the UI will be wrong.

      Solution

      When retreiving the Drive configuration from the server, store it into the local configuration database in the form:

      • name: ui
      • value: either jsf or web

      Then, when generating URLs, instead of using Options.ui, take the value from the configuration.
      Last thing, Options.ui will become obsolete, we should remove it.

        Attachments

        1. Nuxeo Drive 2018-03-09 16-11-18.png
          266 kB
          Fábio Santos
        2. screenshot-1.png
          101 kB
          Fábio Santos

          Issue Links

            Activity

              People

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