Skip to content
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

Fix: View share info while share reciever has been deleted resulted in share info not rendered at all #9355

Closed
wants to merge 2 commits into from

Conversation

AlexAndBear
Copy link
Contributor

@AlexAndBear AlexAndBear commented Jul 6, 2023

Description

Related Issue

Motivation and Context

How Has This Been Tested?

  • test environment:
  • test case 1:
  • test case 2:
  • ...

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added
  • Documentation ticket raised:

Open tasks:

  • ...

@AlexAndBear AlexAndBear reopened this Jul 6, 2023
Copy link
Contributor

@JammingBen JammingBen left a comment

Choose a reason for hiding this comment

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

Also we should do the same for INCOMING_SHARES_SET I guess.

@@ -390,7 +390,7 @@ export default {
return Promise.allSettled(shareQueriesPromises).then(() => {
context.commit(
'OUTGOING_SHARES_SET',
shares.filter((s) => s.outgoing)
shares.filter((s) => s.outgoing && s.collaborator.name !== undefined)
Copy link
Contributor

Choose a reason for hiding this comment

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

This will break link shares because they don't have a collaborator prop. Their name sit's in s.name.

@AlexAndBear
Copy link
Contributor Author

Closing, see owncloud/ocis#6730 (comment)

@AlexAndBear AlexAndBear closed this Jul 6, 2023
@kulmann kulmann deleted the issues/9335 branch September 5, 2024 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deleting a user breaks personal shares
2 participants