Task #9152 (closed)
Opened 12 years ago
Closed 12 years ago
Bug: Make user save, missed form validation, can no longer save
Reported by: | saloynton | Owned by: | atarkowska |
---|---|---|---|
Priority: | critical | Milestone: | OMERO-4.4 |
Component: | Web | Version: | n.a. |
Keywords: | n.a. | Cc: | ux@…, web-team@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | 2012-06-19 (17) |
Description
Web admin - Steps taken
- Choose to create a new user.
- If a mistake is made on entering any details for a required field.
- Once in this the add user form does not create a user.
Note this error does not occur when you create a new group in the web admin.
Change History (8)
comment:1 Changed 12 years ago by wmoore
- Owner changed from atarkowska to saloynton
comment:2 Changed 12 years ago by saloynton
I am logged in as user-6 on gretzky.
- Add new User
- Enter username, password, confirmation, first name, last name.
- No group selected.
- Hit Save (does not submit)
- Fill in the remaining required fields of the form, putting user in a single group
- Hit Save
- Stays in new Users page
comment:3 Changed 12 years ago by saloynton
- Owner changed from saloynton to atarkowska
comment:4 Changed 12 years ago by atarkowska
- Sprint set to 2012-06-19 (17)
comment:5 Changed 12 years ago by wmoore
Did you miss the password and confirmation fields were cleaned when you first hit Save? You have to enter them again.
If this is the issue, I don't know if this is a feature or a bug?
NB: Ola - I just noticed that when you first view the new User page, the url is webadmin/experimenter/new and after hitting Save (when form invalid) you're now at webadmin/experimenter/create . Don't know if this is intentional or if it really matters?
comment:6 Changed 12 years ago by atarkowska
Thats not a problem of wrong url or any other issues. Is just the fact that submitted data are not valid and error is not displayed.
comment:7 Changed 12 years ago by atarkowska
- Status changed from new to accepted
comment:8 Changed 12 years ago by atarkowska
- Resolution set to invalid
- Status changed from accepted to closed
As the problem of presenting form errors appeared more complex, new ticket created #9178
I have just tried this several times on gretzky, logged in as root/omero, creating users with Surname Test-9152, and I couldn't see a problem. Maybe I wasn't entering exactly the same values or didn't repeat the steps quite right?
Did you choose a username that already exists maybe?
Please try repeating with exact steps / fields recorded.