#4389 [HOTFIX] fas - Fix json return of /user/list
Closed: Fixed None Opened 9 years ago by toshio.

= Bug description =

When accessing certain fas APIs (for instance, fedora.client.AccountSystem.people_by_key()), the server would return different data than expected, leading to tracebacks.

= Fix analysis =

We found that the fas server update included a redirect if the /user/list/ URL was only returning a single value. This redirect was only supposed to happen for the webUI, not the json API but a bug was causing it to happen for both.

= Fix applied =

  • Hotfixed version (rpm NVR): fas-0.9.0-1.el6
  • Upstream URL (track upstream commit status): https://github.com/fedora-infra/fas/pull/68/
  • Hotfix managed by (puppet or ansible): puppet
  • Hotfix location (ex: hotfix/files/python-fedora/fas2.py): hotfix/files/fas/user.py
  • Hotfix include (ex: hotfix::python-fedora-fas): hotfix::fas
  • Where included (ex: manifests/nodes/fas-db.pp and manifests/groups/fas-app-servers.pp): manifests/services/fas-server.pp

We updated to an upstream version with this applied. ;)

Login to comment on this ticket.

Metadata