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

Force apply of local configuration options that use the default value

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: NoFixVersionApplicable
    • Fix Version/s: 4.4.2
    • Component/s: Configuration
    • Release Notes Summary:
      Local options are now really priorized
    • Release Notes Description:
      Hide

      When an option was set from both the local configuration file and from the server configuration endpoint, and if the local value was the default value of that option, then it had no effect.
      This is unfortunate as one could not force the value of an option if it was modified from the server configuration endpoint.

      As of now, any option set locally, using the default value or not, has the precedence over the options set by the server.

      Show
      When an option was set from both the local configuration file and from the server configuration endpoint, and if the local value was the default value of that option, then it had no effect. This is unfortunate as one could not force the value of an option if it was modified from the server configuration endpoint. As of now, any option set locally, using the default value or not, has the precedence over the options set by the server.
    • Tags:
    • Team:
      DRIVE
    • Sprint:
      nxDrive 11.1.24
    • Story Points:
      1

      Description

      Let's imagine this scenario:

      • the global server configuration set synchronization_enabled = false
      • a user set in its config.ini synchronization_enabled = true

      In the priority order, the local configuration has the precedence over the server one.
      But as the local config is setting the option to its default value (True), it has no effect by design.
      And so, the synchronization is disabled for that user, even if it was asked to allow it.

      The fix is to take into account local options, even if they are using the default value of the option.

        Attachments

          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 - 30 minutes
                30m