Back

[CLOSED] Relationship broke collection

  • 0
  • Databases
Bill.IHCha
28 Jul, 2023, 13:41

Yes

TL;DR
There is a closed support thread about a broken relationship in a collection. The issue was closed because the user deleted the collection. There is a PR for a bugfix related to the issue. It is suggested to check the database and potentially delete and recreate the document. It is possible that the issue occurred due to a document being linked to a non-existent document. The user plans to upgrade to solve the problem.
Bill.IHCha
28 Jul, 2023, 13:41

Before

D5
28 Jul, 2023, 13:41

I just asked the same πŸ˜…

Bill.IHCha
28 Jul, 2023, 13:41

Lol

D5
28 Jul, 2023, 13:41

Sorry πŸ™

Bill.IHCha
28 Jul, 2023, 13:42

I tried to upgrade to solve the problem

Bill.IHCha
28 Jul, 2023, 13:42

All g

Guille
28 Jul, 2023, 13:42

He started to upgrade to try solve this problem,so that wasn't the cause πŸ€”

Bill.IHCha
28 Jul, 2023, 13:44

I'll head to bed for now, will check back tomorrow

Drake
28 Jul, 2023, 17:22

do you have a 1 to 1 relationship on this user collection?

Bill.IHCha
28 Jul, 2023, 22:28

100%

Drake
28 Jul, 2023, 22:30

something weird might have happened with this document...this could be related to a bug where a document being linked to a document that doesn't exist causes some unexpected behavior.

Drake
28 Jul, 2023, 22:31

you might have to delete the document and recreate it (if that's even possible)

Bill.IHCha
28 Jul, 2023, 22:31

Ah

Drake
28 Jul, 2023, 22:31

or you can try to dig into the database to try and remove the bad link

Bill.IHCha
28 Jul, 2023, 22:32

0,0

Bill.IHCha
28 Jul, 2023, 22:32

Uh

Bill.IHCha
28 Jul, 2023, 22:32

Any plan to fix the bugs?

Drake
28 Jul, 2023, 22:33

of course lol. we always want to fix bugs...

Drake
28 Jul, 2023, 22:34

if the bug is the one i mentioned, we have this PR: https://github.com/utopia-php/database/pull/298

Bill.IHCha
28 Jul, 2023, 22:34

Alright, I just gonna close this issue because I already delete the whole collection. But I'll keep in mind next time

Bill.IHCha
28 Jul, 2023, 22:34

Ah that's nice

Bill.IHCha
28 Jul, 2023, 22:35

[CLOSED] Relationship broke collection

Drake
28 Jul, 2023, 22:35

if you run into any problems, it would really help if you capture the steps to reproduce. if we can reproduce it, we can troubleshoot and work on a bugfix

Bill.IHCha
28 Jul, 2023, 22:35

It just randomly happened, so I can't for this issue

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more