If mailbox creation failed at user creation, you get stuck
Description
I was trying to create a user with a mailbox (on cyrus). The mailbox creation failed but when I wanted apply again FusionDirectory told me that an user with my uid already exist.
Distribution Name and Version
Debian Buster
FusionDirectory Version
1.4
Plugin with the defect
PHP version used
7
Origin of php packages
Distribution
Steps to Reproduce
- Set fdMailAttribute on mail and disable cyrus unix style
- Create an user with a mail on cyrus server
- If you try to apply again after the mailbox creation error it will say the uid already exist
Expected behavior:
Not create the user if the mailbox creation fail
Actual behavior:
It create the user same if the mailbox creation fail
Reproduces how often: 100%