Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-4217

Preference Service refactoring causes query-string input to be ignored

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      2
    • Epic Link:
    • Sprint:
      Goldeneye Sprint #1

      Description

      Query-string values for user preferences should take precedence over cached values:

      value = QSvalue || cachedValue || defaultValue

      The recent refactoring changed the semantics to:

      value = cachedValue || QSvalue || defaultValue

      This results in not being able to change values once they are cached.
      To reproduce:
      (1) Go to topology view
      (2) Make sure background map (USA) is visible (B key)
      (3) append querystring "?mapid=uk" to URL
      (4) reload the page a couple of times
      (5) SHOULD have the UK as the background map
      BUT, it remains USA

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              simon Simon Hunt
              Reporter:
              simon Simon Hunt
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: