Ticket #8925 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

Register form user field should be username

Reported by: ddickison Assigned to: hasienda
Priority: normal Component: AccountManagerPlugin
Severity: major Keywords: register username
Cc: Trac Release: 0.12

Description

r10288 in AccountManagerPlugin (trunk) changed the server's parameter from "user" to "username", but the register.html template is still using "user". This causes an exception when trying to register.

Unless I missed something, the attached patch fixes this.

Attachments

register-username.patch (0.8 kB) - added by ddickison on 06/24/11 17:35:08.

Change History

06/24/11 17:35:08 changed by ddickison

  • attachment register-username.patch added.

(in reply to: ↑ description ) 06/24/11 19:55:11 changed by hasienda

  • status changed from new to assigned.

Replying to ddickison:

Unless I missed something, the attached patch fixes this.

No, you're right. I missed this one. Thanks for reporting. I should really spend some time adding functional tests to prevent such regressions in the future.

06/24/11 20:07:09 changed by hasienda

I've tested the patch - and found another place, that needed a fix as well. It may not be the last one; anyway, thanks for taking care.

06/24/11 20:11:47 changed by hasienda

(In [10370]) AccountManagerPlugin: Another follow-up to changeset [10288], refs #8925.

This argument renaming obviously is a tricky thing, glad ddickison pointed it out before the release. Thank you.

06/24/11 21:26:55 changed by hasienda

(In [10371]) AccountManagerPlugin: Repair some unit tests dedicated to htfile.py.

Mentioning (functional/unit) tests, refs #8925, I noticed that some have been broken for a while. Good time to fix them now.

07/02/11 16:16:25 changed by hasienda

(In [10374]) AccountManagerPlugin: Correct a left-over from [10339], refs #8925 and #8939.

This has been reported by Mario Wehr, thanks. Yet I preferred to fix the attempted variable rename according to initial intention - the other way round.

07/07/11 22:18:50 changed by hasienda

  • status changed from assigned to closed.
  • resolution set to fixed.

(In [10393]) AccountManagerPlugin: Releasing version 0.3, pushing development to 0.4.

This new feature release finally propagates a number of solutions into an official release, after some time of testing with trunk, so explicitely closes #442, #816, #2966, #3989, #4160, #6821, #7111, #8534, #8549, #8663, #8813, #8892, #8925, #8936 and #8939.

Should have made this months ago, but felt so many pending issues were too bad for a new release. But it has been a tremendous ticket burndown since last year, so it's really worth considering an upgrade now. See fresh changelog for details.

12/16/11 21:26:06 changed by hasienda

(In [11045]) AccountManagerPlugin: Allow relative URL for HttpAuthStore configuration, refs #8925 and #9618.

Add more sophisticated logic to deal with various authentication_url values other than full absolute URLs as suggested by Dennis McRitchie?. Minor differences to the original patch include enforced 79 char/line limit including use of multi-line strings, modified comments and the rename of user -> username according to previous changes, starting with [10288].


Add/Change #8925 (Register form user field should be username)




Change Properties
Action