Add some information on the Active Directory user fields mapping or Active Directory groups mapping
Save the info with "Check connection"
Try to delete the added field
Save again with "Check connection"
Results:
The field was not properly deleted. I've identified 3 cases depending on the number of fields added, position of the information added:
The information in the field may be deleted, but another empty field is displayed.
The field an information is simply not deleted.
The information in the field is duplicated.
Even if you make the save with "Save" from the bottom of the page, may not work when this problem appears.
The workaround found is to clear the field from XWiki.XWikiPreferences object from ActiveDirectory.CodeActiveDirectoryConfig
Even though "Check connection" was not meant to save the information below it (only the connection details). It saves the details added below it.
It shouldn't save the information below it.
This is also related with: #65 . Removing the Save for all fields on Check Connection could break some others.
Steps to reproduce:
Results: The field was not properly deleted. I've identified 3 cases depending on the number of fields added, position of the information added:
Even if you make the save with "Save" from the bottom of the page, may not work when this problem appears. The workaround found is to clear the field from XWiki.XWikiPreferences object from ActiveDirectory.CodeActiveDirectoryConfig
Even though "Check connection" was not meant to save the information below it (only the connection details). It saves the details added below it. It shouldn't save the information below it. This is also related with: #65 . Removing the Save for all fields on Check Connection could break some others.