#7143 "unknown command 'undefined'" error when changing user's password via the web UI
Closed: fixed 6 years ago Opened 6 years ago by pvomacka.

Ticket was cloned from Red Hat Bugzilla (product Fedora): Bug 1488640

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:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1488640

6 years ago

Metadata Update from @stlaz:
- Issue set to the milestone: FreeIPA 4.6.1

6 years ago

master:

  • 755a500 WebUI: remove unused parameter from get_whoami_command
  • a7ab63b WebUI: Fix calling undefined method during reset passwords

ipa-4-6:

  • 47c7a19 WebUI: remove unused parameter from get_whoami_command
  • 44b012c WebUI: Fix calling undefined method during reset passwords

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

6 years ago

@pvomacka shouldn't this go also to 4.5.3 branch?

@pvoborni yes, it should, I will open different ticket as this one is closed in already released version.

Login to comment on this ticket.

Metadata