Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      all

      Description

      For some reason, when using

      var prefs = new gadgets.Prefs();

      the values are populated only if they are present in the URL. If I am not trying to overwrite default values, the prefs is an empty object.

      When I look at the javascript implementation, I can see that it uses only URL variables to populate.

      When I started digging into java implementation, I can see that createGadgetFromSpec method in the Gadget server class invokes UserPrefSubstituter, which is correctly populating Substitutions class with the parameters from URL, but I do not see where this variables are used. The gadget spec does not reflect these variables.

        Activity

        Boris created issue -
        Gavin made changes -
        Field Original Value New Value
        Workflow jira [ 12442093 ] patch-available, re-open possible [ 12629166 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Boris
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development