Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

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

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?

  • Go to http://gretzky.openmicroscopy.org.uk/webadmin/experimenters/
  • Add new User
  • Enter username only
  • Hit Save (does not submit)
  • Fill in the remaining required fields of the form, putting user in a single group
  • Hit Save
  • Returned to the Users page
  • NB: ordering the Users by ID to put the most recent user at the top is an easy way to verify that new user has been created.

Did you choose a username that already exists maybe?

Please try repeating with exact steps / fields recorded.

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


I will pass this back to Ola, if you have any problems reproducing please let me know.

Last edited 12 years ago by saloynton (previous) (diff)

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

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.68994 sec.)

We're Hiring!