altran / _Whydah-UserIdentityBackend

The vault of users and applications. The UserIdentytyBackend module of the Whydah IAM/SSO
Other
0 stars 3 forks source link

When trying to save a user with illegal attributes, user is updated in Lucene (but not in LDAP) #7

Closed leon-ho closed 10 years ago

leon-ho commented 10 years ago

While working on UserAdminWebapp, it appears that an update on user/uid is reflected in users/find, but NOT when retrieving the same user with GET user/uid.

leon-ho commented 10 years ago

Looks like lucene is updated, but the record is not stored if there are errors in the format. In my tests, I tried adding phonenumbers containing dashes (eg. 123-SUPER).

leon-ho commented 10 years ago

So in short, lucene should not update unless the record is succesfully saved.