Uploaded image for project: 'GPII - Global Public Inclusive Infrastructure'
  1. GPII - Global Public Inclusive Infrastructure
  2. GPII-104

Create temporary workaround until GPII-103 has been fixed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: C4A Portugal Workshop
    • Component/s: None
    • Labels:
      None

      Description

      GPII-103 (Windows registry settings handler needs to have the datatype info in options rather than settings) is currently resulting in an error getting thrown if a user uses common terms and not all settings are set for a solution using the registry settings handler.

      The reason the error gets thrown is that the transformation maps need to contain the dataType as well. Since this is a static value, it's not dependent on any input in the users preferences set, and hence can always be set. So for example, if a user logs in with only one of the preferences (common terms) set for the windows magnifier, the transformations for that solution id will be done for all possible common terms. For all the common terms but the one set for by the user, the transformations of the value will not be done (as that value will be undefined). But since the datatype for each of these settings are not dependent on input, the datatype will be set as part of the transformation. Consequently, the registry settings handler will for these settings get a payload with datatypes only and no value set. When trying to process this, it currently fluid.fails due to the value (undefined) being "not in value-range" for the setting.

      A temporary solution needs to be done until GPII-103 get fixed - the tmp solution would consist of a simple check in the settings handler on the value passed. If this is undefined, instead of a fail (like now) which causes an error to be passed back to the user, and the solution not being launched, the system should log the invalid attempt to set the registry key and not attempt setting it, but otherwise continue as usual

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                kasper Kasper Markus
                Reporter:
                kasper Kasper Markus
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: