Partial entry created when error occurs in a tab
Description
I created an entry and enabled the mail tab in the creation screen. My LDAP directory is configured with unique overlay on mail attribute. If the mail of the created entry is not unique, I got an error, but the entry is created without the mail tab.
Distribution Name and Version
Debian stable
FusionDirectory Version
1.4-2~jenkinsbuild570
Steps to Reproduce
- Create a new entry, enter required information
- Enable mail tab, set a mail address which already exists
- Enter OK
Expected behavior:
Error message because LDAP Directory has reject the mail attribute, and no entry created at all.
Actual behavior:
Error message because LDAP Directory has reject the mail attribute, but entry is created without the mail attribute.
Reproduces how often:
100%
Additional Information
Configuration of OpenLDAP unique overlay:
dn: olcOverlay={2}unique,olcDatabase={1}mdb,cn=config
objectClass: olcUniqueConfig
objectClass: olcOverlayConfig
objectClass: olcConfig
objectClass: top
olcOverlay: {2}unique
olcUniqueURI: ldap:///?mail?sub