← Back to team overview

dhis2-devs team mailing list archive

[Bug 1577486] [NEW] useFallback has no effect when getting specific user setting

 

Public bug reported:

When getting a specific user setting, useFallback has no effect. To
reproduce:

1. Remove the keyUiLocale user setting
curl -u admin:district :8080/dhis/api/userSettings/keyUiLocale -X DELETE

2. Attempt to get keyUiLocale without fallback:
curl -u admin:district :8080/dhis/api/userSettings/keyUiLocale?useFallback=false

The result will be the fallback value from systemSettings/keyUiLocale

** Affects: dhis2
     Importance: Undecided
     Assignee: Stian Sandvold (stian-sandvold)
         Status: New

** Summary changed:

- useFallback has no effect when getting a specific user setting
+ useFallback has no effect when getting specific user setting

** Description changed:

  When getting a specific user setting, useFallback has no effect. To
  reproduce:
  
  1. Remove the keyUiLocale user setting
-     curl -u admin:district :8080/dhis/api/userSettings/keyUiLocale -X DELETE
+ curl -u admin:district :8080/dhis/api/userSettings/keyUiLocale -X DELETE
  
  2. Attempt to get keyUiLocale without fallback:
-     curl -u admin:district :8080/dhis/api/userSettings/keyUiLocale?useFallback=false
+ curl -u admin:district :8080/dhis/api/userSettings/keyUiLocale?useFallback=false
  
  The result will be the fallback value from systemSettings/keyUiLocale

** Changed in: dhis2
     Assignee: (unassigned) => Stian Sandvold (stian-sandvold)

-- 
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1577486

Title:
  useFallback has no effect when getting specific user setting

Status in DHIS:
  New

Bug description:
  When getting a specific user setting, useFallback has no effect. To
  reproduce:

  1. Remove the keyUiLocale user setting
  curl -u admin:district :8080/dhis/api/userSettings/keyUiLocale -X DELETE

  2. Attempt to get keyUiLocale without fallback:
  curl -u admin:district :8080/dhis/api/userSettings/keyUiLocale?useFallback=false

  The result will be the fallback value from systemSettings/keyUiLocale

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1577486/+subscriptions


Follow ups