Comment 0 for bug 1648918

Revision history for this message
Jason Stephenson (jstephenson) wrote :

While looking into a webstaff client issue encountered by another, I registered a workstation for the admin user in a concerto database at the CONS.

I discovered that I could not later remove it, though I could register and remove any other workstation. The Remove button is dimmed out for this workstation. (Screen shots attached.)

The reason is that the CONS org_unit is first (i.e. zero) in the perm ou array and so the check for indexOf() returns 0, a false value. The check should be indexOf() != -1.

I'll add a branch and edit this description with the branch.