Something went wrong while setting issue due date.
User creation is performed even though an error is thrown within Posix
Open
User creation is performed even though an error is thrown within Posix
Description
A bug was found during a creation of a User with Posix, if UID/GID are forced (via template E.g) and you press save without configuring IDs. Error message will be seen but user will be created nonetheless and you cannot change IDs directly. An exit of the user creation page is required to configure the IDs afterwards.
Distribution Name and Version
Debian GNU/Linux 11 (bullseye)
FusionDirectory Version
Plugin with the defect
Posix / User (fd-core).
PHP version used
7.4.25
Origin of php packages
Distribution
Steps to Reproduce
- Create a User
- Activate Unix Tab
- Force User/Group ID
- Leave IDs blank (null)
- Click apply after having fulfilled required fields within User tab.
- Accept errors messages.
- Put the IDs "forgotten"
- Error message is seen saying User Login already exist. (No update performed).
Expected behavior:
An update of the user posix information.
Actual behavior:
No update is done, posix tab is closed, user is created without unix attributes.
Reproduces how often:
100% of the time.