-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Acceptance test failures related to add user by email address #54
Comments
The fails seem to be for user-key encryption test jobs. So maybe there is a real problem here with the user creation workflow when user-key encryption is enabled. |
looks like the password was never set. |
|
The problem is caused here at https://github.com/owncloud/core/blob/stable10/apps/encryption/lib/Hooks/UserHooks.php#L250. The call to this code arrives from https://github.com/owncloud/core/blob/stable10/lib/private/User/User.php#L311. So it needs a user session. The failure happens when a user tries to set the password in a browser where no session is available. When logged in as admin user and try to open another tab by opening the link to set password, it works. But this is just a work around :( |
@sharidas not necessarily needing a session. Maybe add a check whether the session exists or not. It's only there for the case where the user changes an existing password. |
I'd like to have this in 10.0.10 as it breaks user creation with the new flow. As discussed with @sharidas the fix is rather straightforward so I think it will make it in. Setting to p2 then. |
Some acceptance tests are failing. See example in PR #53 and its linked drone results https://drone.owncloud.com/owncloud/encryption/205
e.g. with user-keys, mysql, daily-stable10-qa PHP 5.6
The text was updated successfully, but these errors were encountered: