Skip to content

fix LDAP Wizard forgetting groups on select with search - #16033

Merged
blizzz merged 1 commit into
masterfrom
fix/noid/ldap-group-wiz-selection
Jun 24, 2019
Merged

fix LDAP Wizard forgetting groups on select with search#16033
blizzz merged 1 commit into
masterfrom
fix/noid/ldap-group-wiz-selection

Conversation

@blizzz

Copy link
Copy Markdown
Member

When you have more than 40 groups, the LDAP wizard shows a different group selection utility to better cope with long lists. It can be searched too. Sadly, when a filtered selection was done and added, the previously selected groups were forgotten. See following recordings

The bug:

https://cloud.nextcloud.com/s/555t9EkAe9j9G2y

(You also notice that the left box is not properly populated again)

And resolved:

https://cloud.nextcloud.com/s/aKXxZHwdybypBN9

What I love about the fix is that it works much better with less LOCs :)

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>

@ChristophWurstChristophWurst 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 good!

@ChristophWurst

Copy link
Copy Markdown
Member

What I love about the fix is that it works much better with less LOCs :)

We should consider integrating https://github.com/kelseyhightower/nocode for even less code.

@blizzz

Copy link
Copy Markdown
MemberAuthor

We should consider integrating https://github.com/kelseyhightower/nocode for even less code.

The contribution policy is sort of not very welcoming though 🤔 at least it also does not require a CLA.

@skjnldsv

Copy link
Copy Markdown
Member

integration-ldap-openldap-uid-features failed, but it's looking weird. Restarted

@skjnldsvskjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jun 22, 2019
@blizzz

Copy link
Copy Markdown
MemberAuthor

was a timeout in CI, run through now

@blizzz

Copy link
Copy Markdown
MemberAuthor

/backport to stable16

@blizzz

Copy link
Copy Markdown
MemberAuthor

/backport to stable15

@blizzz
blizzz merged commit c417194 into masterJun 24, 2019
@blizzz
blizzz deleted the fix/noid/ldap-group-wiz-selection branch June 24, 2019 06:12
@backportbot-nextcloud

Copy link
Copy Markdown

backport to stable16 in #16051

@backportbot-nextcloud

Copy link
Copy Markdown

backport to stable15 in #16052

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 finishbugfeature: ldap

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@blizzz@ChristophWurst@skjnldsv