Issue 14268

Registry console updates on organization and installation wipe password

14268
Reporter: kbraak
Assignee: kbraak
Type: Bug
Summary: Registry console updates on organization and installation wipe password
Priority: Blocker
Resolution: Fixed
Status: Closed
Created: 2013-10-21 14:17:00.203
Updated: 2013-12-16 17:50:59.295
Resolved: 2013-10-21 16:50:35.011
        
Description: Updates on organizations and installations through the web console wipe the password field.

The danger of wiping the password, is that it will cause IPT/IPT resource registrations/updates to fail.

One option, would be to remove this field from the SQL update statement for organizations and installations. The password is never supposed to change anyways once set.]]>
    


Author: kbraak@gbif.org
Comment: Fixed, https://code.google.com/p/gbif-registry/source/detail?r=3498
Created: 2013-10-21 16:50:35.077
Updated: 2013-10-21 16:50:35.077


Author: kbraak@gbif.org
Created: 2013-10-21 16:55:17.378
Updated: 2013-10-21 17:08:00.737
        
[~trobertson@gbif.org] please review the committed fix. Furthermore, to the Organization model class only, we could add the following annotations to the password getter:

@NotNull(groups = {PrePersist.class})
@NotNull(groups = {PostPersist.class})

As for installations, only IPT installations will actually have a password.