When i try to delete a document that has relationships (without anythin actually related to the document, just has the attribute) I get a Server 500 error.
Appwrite log:
[Error] Method: DELETE
[Error] URL: /v1/databases/:databaseId/collections/:collectionId/documents/:documentId
[Error] Type: Error
[Error] Message: Call to a member function getId() on null
[Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
[Error] Line: 3834```
If I add a relationship then it will let me delete, should be able to delete without relationship too
v1.4.2
Does this happen on 1.4.5 too?
I haven't tried it, found it was only doing it on 1x1 relations, none with many
so i got rid of my 1x1 relationships
Interesting...it might be good to create an issue for this...
I swear we tested this before, but maybe there was a regression...
Recommended threads
- How to bypass the rate limit on the back...
Once a month my app has a ton of usage and I always run into the Too many requests 429 error. I am trying to optimize the queues and jobs to manage that, but a...
- [SOLVED] Appwrite Cloud and FRA cloud se...
Can anyone estimate how long this will take to resolve? I am checking status here https://status.appwrite.online/
- How to use Operator.arrayAppend on a rel...
Hi, is it possible to use any operator on a relationship column? I have a One to Many relationship column on a table and I would like to add entries to the colu...