#7678 [WebUI] JS error of 'reset' view
Closed: fixed Opened by slev.

How to reproduce:
1) user's password must be reseted;
2) attempt to log in;
3) on 'reset' view do not edit any field's value;
4) push 'Reset password and Login' button;
5) fill current and new password fields;
6) once typing to 'verify password' field an error appears in console log:

Uncaught TypeError: Cannot read property 'name' of undefined
    at Object.render_alert (app.js?40700:6)
    at Object.that.render_items (app.js?40700:6)
    at Object.that.add (app.js?40700:6)
    at Object.that.add_error (app.js?40700:6)
    at Object.<anonymous> (app.js?40700:11)
    at Object.dispatcher [as onvalid-change] (dojo.js?v=40700:3)
    at Function.on.emit (dojo.js?v=40700:3)
    at Function.on.emit (dojo.js?v=40700:3)
    at Object.emit (dojo.js?v=40700:3)
    at Object.that.set_valid (app.js?40700:9)

After that neither 'enter' key nor button click works until reload of the web page.
A screenshot is below.


Patch will be prepared.

Metadata Update from @abiagion:
- Custom field on_review adjusted to https://github.com/freeipa/freeipa/pull/2269

Metadata Update from @abbra:
- Issue assigned to slev

Metadata Update from @abbra:
- Issue set to the milestone: FreeIPA 4.7.1

master:

  • c3f23da49dc63865d9d7b4f13bb0bded9efa9534 Fix "get_key_index" to fit caller's expectations
  • 0dcce426a4fc97b0e4c8a8aa447422ba94c939e4 Reindex 'key_indicies' after item delete

ipa-4-7:

  • 9e65f20378d1786039e6b1c64fbfc4b1957093d3 Fix "get_key_index" to fit caller's expectations
  • 8b8dbaabc340d1b205293b94145844470fb28055 Reindex 'key_indicies' after item delete

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

Metadata