Skip to content

Exclude groups from sharing: Skip delete groups - #19124

Merged
MorrisJobke merged 1 commit into
masterfrom
bug/13647/ignore-delete-groups
May 4, 2020
Merged

Exclude groups from sharing: Skip delete groups#19124
MorrisJobke merged 1 commit into
masterfrom
bug/13647/ignore-delete-groups

Conversation

@kesselb

Copy link
Copy Markdown
Contributor

Fix#13647

displayname: results.find(function(group){
returngroup.id===groupId;
}).displayname

results.find will return undefined if no group found hence displayname fail. I don't know what's wrong with the indention. ESLint does not complain locally about the changes but the rest of the file seems to be wrong.

@kesselbkesselb added this to the Nextcloud 19 milestone Jan 24, 2020
@kesselbkesselb added 3. to review Waiting for reviews bug labels Jan 24, 2020
@kesselb
kesselb requested a review from skjnldsvJanuary 24, 2020 15:38
@kesselb
kesselbforce-pushed the bug/13647/ignore-delete-groups branch from 4736e72 to fc006d2CompareFebruary 21, 2020 22:22
This was referenced Apr 4, 2020
This was referenced Apr 15, 2020
@rullzerrullzer mentioned this pull request Apr 23, 2020
11 tasks
@kesselbkesselb linked an issue Apr 23, 2020 that may be closed by this pull request
@kesselb
kesselbforce-pushed the bug/13647/ignore-delete-groups branch from fc006d2 to 3917daeCompareApril 23, 2020 18:51

@blizzzblizzz 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.

indentation seems off in the js file

@kesselb
kesselbforce-pushed the bug/13647/ignore-delete-groups branch 2 times, most recently from 576d828 to 8772a1eCompareApril 24, 2020 16:03
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@kesselb
kesselbforce-pushed the bug/13647/ignore-delete-groups branch from 8772a1e to 16f29d8CompareApril 24, 2020 16:10
@kesselb

Copy link
Copy Markdown
ContributorAuthor

indentation seems off in the js file

./node_modules/eslint/bin/eslint.js --no-eslintrc --rule 'indent: ['error', 'tab'],' --fix apps/settings/js/settings.js to the rescue ;)

@rullzerrullzer mentioned this pull request Apr 30, 2020
2 tasks

@MorrisJobkeMorrisJobke 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.

Tested and works 👍

@MorrisJobke
MorrisJobke merged commit 6aceb39 into masterMay 4, 2020
@MorrisJobke
MorrisJobke deleted the bug/13647/ignore-delete-groups branch May 4, 2020 08:02
@MorrisJobke

Copy link
Copy Markdown
Member

/backport to stable18

@MorrisJobke

Copy link
Copy Markdown
Member

/backport to stable17

@kesselb

Copy link
Copy Markdown
ContributorAuthor

Hmm. It seems I lost fc006d2 on rebase 🙈

@MorrisJobke

Copy link
Copy Markdown
Member

Hmm. It seems I lost fc006d2 on rebase 🙈

New PR :) But I tested and the UI and all still worked. On the next save it will not bet there as well. So this is basically only a cleanup thing.

@kesselb

Copy link
Copy Markdown
ContributorAuthor

On the next save it will not bet there as well. So this is basically only a cleanup thing.

Exactly. I will have a look later.

@kesselbkesselb self-assigned this May 4, 2020
@kesselbkesselb removed their assignment May 17, 2020
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Javascript error in settings.js function setupGroupsSelect() Exclude groups from sharing v14.06 not listing groups, javascript error

3 participants

@kesselb@MorrisJobke@blizzz