#7175 [Backport 7143 to ipa-4-5] "unknown command 'undefined'" error when changing user's password via the web UI
Closed: fixed 6 years ago Opened 6 years ago by pvomacka.

COPY OF TICKET https://pagure.io/freeipa/issue/7143

With the latest incarnation of the FreeIPA 4.6.0 update for Fedora 27, tests
are looking much better, but there is still a failure in the test which tries
to change a user's password via the web UI:

https://openqa.stg.fedoraproject.org/tests/154667#step/freeipa_password_change/
18

when the test clicks 'Reset Password' after filling in the dialog, this error
appears:

IPA Error 905: CommandError
unknown command 'undefined'

In the Apache error log, I see this:

[Tue Sep 05 18:21:52.809837 2017] [wsgi:error] [pid 7181:tid 140266895476480]
[remote 10.0.2.102:39228] ipa: INFO: [jsonserver_session] test3@DOMAIN.LOCAL:
undefined: CommandError

I suspect this may relate to the changes to get_whoami_command in this commit:

https://github.com/freeipa/freeipa/commit/ceedc3f7ecb1300ed5bfaf5db8ef1b1450c62
88e

but I'm not 100% sure. It involves javascript, and I hate javascript (plus I
can't quite grok the interface between JS and python in the FreeIPA web UI
code).


Metadata Update from @pvomacka:
- Issue tagged with: bug, webui

6 years ago

Metadata Update from @pvomacka:
- Issue assigned to pvomacka

6 years ago

Metadata Update from @pvomacka:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/1151
- Issue untagged with: bug, webui

6 years ago

Metadata Update from @pvomacka:
- Issue set to the milestone: FreeIPA 4.5.4

6 years ago

ipa-4-5:

  • 4be7303 WebUI: remove unused parameter from get_whoami_command
  • f361599 WebUI: Fix calling undefined method during reset passwords

Metadata Update from @tkrizek:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

6 years ago

Login to comment on this ticket.

Metadata