8000 🐛 Bug Report: Relationships don't cascade delete properly with 2 relationships · Issue #5677 · appwrite/appwrite · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

🐛 Bug Report: Relationships don't cascade delete properly with 2 relationships #5677

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

Closed
2 tasks done
jacobc16 opened this issue Jun 8, 2023 · 5 comments
Closed
2 tasks done
Assignees
Labels
bug Something isn't working feature / relationships Fixes and upgrades for database relationships product / databases Fixes and upgrades for the Appwrite Database.
Milestone

Comments

@jacobc16
Copy link
jacobc16 commented Jun 8, 2023

👟 Reproduction steps

Create three collections

  • The first collection has a relationship with collection two using cascade delete and one to many
  • The second collection has a relationship with collection three using cascade delete and one to many
  • Third collection attributes don't matter

Roadmap

  • Categories: Relationship on roadmap
    • Tasks: Relationship on categories

Create some random documents for each of the collections.

Delete a document from the first collection.

👍 Expected behavior

Deleting a document from the first collection will cause categories and tasks to be deleted

👎 Actual Behavior

Only the roadmap and categories are deleted. Tasks remain undeleted.

🎲 Appwrite version

Version 1.3.x

💻 Operating system

Windows

🧱 Your Environment

Node, 1.3.7

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@jacobc16 jacobc16 added the bug Something isn't working label Jun 8, 2023
@jacobc16 jacobc16 changed the title 🐛 Bug Report: Relationships don't cascade properly 🐛 Bug Report: Relationships don't cascade delete properly with 2 relationships Jun 8, 2023
@joeyouss
Copy link

Hi
Thank you for reporting this. We have started looking into this and we will keep you updated.

@abnegate
Copy link
Member

Hi @Walrusking16 this is fixed and will be released in the next version 👍

@joeyouss
Copy link

Adding the PR here: utopia-php/database#269

@abnegate
Copy link
Member
abnegate commented Sep 8, 2023

Hi @Walrusking16 are you able to confirm if this issue is resolved for you in the latest version 1.4.2?

@abnegate abnegate added the feature / relationships Fixes and upgrades for database relationships label Sep 8, 2023
@abnegate
Copy link
Member

Closing as tested fixed in 1.4.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature / relationships Fixes and upgrades for database relationships product / databases Fixes and upgrades for the Appwrite Database.
Projects
None yet
Development

No branches or pull requests

4 participants
0