I have created a collection with multiple relationships, but one when I load it I don't get the field of it in my Map... Is this a bug or did I miss something?
I have also relationships in relationships is this a problem?
funny thing is from the 3 relationship in the object I only miss one of them...
Summary
Issue: Missing data for one relationship field on load.
When deleting `relationshipA`, other relationships (`relationshipB` and `relationshipC`) are not sent. This problem occurs when having both manyToMany and manyToOne connections to the same collection, where the manyToOne fields are ignored. Nested relationships may also cause issues.
Solution: This could be a bug related to JSON serialization or data retrieval logic. Check the serialization process for handling multiple relationships. It's advised to revise the data loading mechanism to ensure all relationships are fetched correctly.
Kuromory
Rank 2: Process
Jul 2, 2024, 14:30
relationship missing data on load (key)
Kuromory
Rank 2: Process
Jul 2, 2024, 14:50
I did some digging and found out that when I have a manyToMany and a manyToOne connection to the same collection it gets only the manyToMany fields and the manyToOne are ignored...
Kuromory
Rank 2: Process
Jul 2, 2024, 14:52
JSON
{
"relationshipA":["collectionAId"],// shown/sent
"relationshipB":"collectionAId"// ignored/not sent
"relationshipC":"collectionAId"// ignored/not sent
}
Kuromory
Rank 2: Process
Jul 2, 2024, 14:54
when I delete the relationshipA the others are sent...