fix: email not set when user logs in for the first time (#328)#333
Open
LeShaunJ wants to merge 2 commits intoowncloud:masterfrom
Open
fix: email not set when user logs in for the first time (#328)#333LeShaunJ wants to merge 2 commits intoowncloud:masterfrom
LeShaunJ wants to merge 2 commits intoowncloud:masterfrom
Conversation
Member
|
Thank you! Please look into the failing unit tests THX |
… set when user is first provisioned, because `$force`)
|
Author
|
@DeepDiver1975, all test passed. Had to fix a unit test, as it was expecting an incorrect outcome:
Actual expectation:
|
Author
|
Hi @DeepDiver1975. Just wondering, is there a release structure that is followed when it comes to these plugins (for example, they follow the core release schedule)? This is not to rush or anything; it's just that it's a blocker on my end, so I need to temper expectations. |
Member
|
also fixes #335 |
|
@DeepDiver1975 what needs to happen to get this merged? |
Author
|
Hi @DeepDiver1975, after 9 months with no activity, is it safe to assume this is low priority for ownCloud? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
$force ||to fixAutoProvisioningService, which is currently broken (see Motivation and Context below).mode() == 'email'.Related Issue
Motivation and Context
A change in
v2.3.1made it so when$this->client->mode() == 'email':AutoProvisioningService->updateAccountInfo()skips$user->setEMailAddress($currentEmail)AutoProvisioningService->createUser()callsupdateAccountInfo()in order to hydrate it with the appropriate data.$user->setEMailAddress($currentEmail)is skipped; the user is able to use the app.How Has This Been Tested?
Tested on our client's
stagingenvironment.Part 1: Reproduce
adminin a primary private browserstagingSSO.ownCloudin a secondary private browser. Created a file.admin, observed the new user and display name.ownCloudin a tertiary private browser. Cannot see the file I created.admin, observed two new users with the same display name.Part 2: Post-Fix
ownCloudin a secondary private browser. Created a file.admin, observed the new user and display name.ownCloudin a tertiary private browser. Can see the file I created.admin, observed no users newer than what was initially observed.Types of changes
Checklist: