-
-
Notifications
You must be signed in to change notification settings - Fork 829
Standardize errors about localpart structure #2351
Conversation
a493025
to
4fdcafb
Compare
Fixes element-hq/element-web#5833 This also includes changing some Jira references that aren't searchable anymore, and a thing to replace the spinner on the SetMxidDialog as per element-hq/element-web#5833 (comment)
4fdcafb
to
8592e76
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, the change looks good. 😁
Please investigate the CI failure before merging... E2E tests seem to fail on the first step. Is the test checking from some of this text?
Looks like the regex is failing on the login page and that's causing it to not continue normally. Going to have to spend some time figuring this one out though:
|
Yikes... I guess parens do the right thing:
but yeah... that's pretty strange. 😰 |
Oh wait, the
|
Ah, it's the global flag on the regex. If you remove that, it works:
|
Regular expression objects are stateful, and the global flag interferes badly with the expression. A valid call can cause it to act like a flip flop instead of a stateless test.
Huh, I didn't realize that the expression actually stores state (and that the global flag interferes that badly). Thanks for taking a look into it - I've committed the change. |
Fixes element-hq/element-web#5833
This also includes changing some Jira references that aren't searchable anymore, and a thing to replace the spinner on the SetMxidDialog as per element-hq/element-web#5833 (comment)