You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After PR #35972 was merged to core master, password_policy tests started to fail due to some small changes in error reporting behaviour. See owncloud/password_policy#241 for the detailed test scenario changes needed.
When adding a user via the Provisioning API, if there is a PolicyException (e.g. the password does not meet some password policy requirement) then the OCS status message has the text Unable to create user due to exception: prepended to it - e.g.
Unable to create user due to exception: The password contains too few lowercase letters. At least 3 lowercase letters are required.
Previously the OCS status text was just:
The password contains too few lowercase letters. At least 3 lowercase letters are required.
Note: when changing a user's password via the Provisioning API the messages have not changed - the extra bit about the exception does not appear.
When adding a user using the occ command, then the text messages are unchanged. But they are coming on stdout rather than stderr.
Note: when changing a user password the error messages are still coming on stderr
What to do about each of these behaviour changes, and the inconsistencies between "add user" and "change password"?
The text was updated successfully, but these errors were encountered:
After PR #35972 was merged to core master, password_policy tests started to fail due to some small changes in error reporting behaviour. See owncloud/password_policy#241 for the detailed test scenario changes needed.
PolicyException
(e.g. the password does not meet some password policy requirement) then the OCS status message has the textUnable to create user due to exception:
prepended to it - e.g.Previously the OCS status text was just:
Note: when changing a user's password via the Provisioning API the messages have not changed - the extra bit about the exception does not appear.
occ
command, then the text messages are unchanged. But they are coming onstdout
rather thanstderr
.Note: when changing a user password the error messages are still coming on
stderr
What to do about each of these behaviour changes, and the inconsistencies between "add user" and "change password"?
The text was updated successfully, but these errors were encountered: