Skip to content

Make sure that the dav propfind plugins always use the proper user id - #28084

Merged
skjnldsv merged 1 commit into
masterfrom
bugfix/noid/dav-user-id
Jul 23, 2021
Merged

Make sure that the dav propfind plugins always use the proper user id#28084
skjnldsv merged 1 commit into
masterfrom
bugfix/noid/dav-user-id

Conversation

@juliusknorr

Copy link
Copy Markdown
Member

For old android versions it could happen that the requests are performed
with a login name instead of the actual user id, so before this change
the property methods used the wrong value for fetching their information

Found in nextcloud/circles#672

@juliusknorrjuliusknorr added bug 3. to review Waiting for reviews labels Jul 21, 2021
@juliusknorrjuliusknorr added this to the Nextcloud 23 milestone Jul 21, 2021
@juliusknorr

Copy link
Copy Markdown
MemberAuthor

/backport to stable22

@ArtificialOwl

ArtificialOwl commented Jul 21, 2021

Copy link
Copy Markdown
Member

in case anyone wondering, this should fix also an unknown bug of shared files not being displayed in the android app when using LDAP

@juliusknorr
juliusknorrforce-pushed the bugfix/noid/dav-user-id branch from cb3d1ac to 650d297CompareJuly 21, 2021 13:09
@Pytal

Copy link
Copy Markdown
Member

CI 🤔

@ArtificialOwlArtificialOwl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks like it fixes the original issue

For old android versions it could happen that the requests are performed
with a login name instead of the actual user id, so before this change
the property methods used the wrong value for fetching their information
Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr
juliusknorrforce-pushed the bugfix/noid/dav-user-id branch from 650d297 to 6909ce6CompareJuly 22, 2021 10:28
@juliusknorrjuliusknorr added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jul 22, 2021

@skjnldsvskjnldsv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh wow! 🙈

@szaimen

Copy link
Copy Markdown
Contributor

Not sure if the failing tests are unrelated...

@skjnldsv

Copy link
Copy Markdown
Member

Doesn't seems related no

@skjnldsv
skjnldsv merged commit 9797674 into masterJul 23, 2021
@skjnldsv
skjnldsv deleted the bugfix/noid/dav-user-id branch July 23, 2021 06:31
@backportbot-nextcloud

Copy link
Copy Markdown

The backport to stable22 failed. Please do this backport manually.

@szaimen

Copy link
Copy Markdown
Contributor

/backport to stable22

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants

@juliusknorr@ArtificialOwl@Pytal@szaimen@skjnldsv@artonge