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
- listRows result parsing issue
I'm using Appwrite Dart SDK "24.2.0". When I perform a listRows call in dart, I have this reponse in JSON: in " Future<models.RowList> listRows()" { "total" :...
- Index for combination of columns
How am i suppposed to apply index so that combination of two columns alwasy remain unique in appwrite table though console
- Broken Flutter SDK >=24.1.0
Row.fromMap now does: ``` data: Map<String, dynamic>.from(map["data"] ?? {}) ``` But Appwrite Cloud TablesDB row responses return custom row columns flattene...