You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
App loads "visit" with included data: "sells" and "sells.item".
User clicks on the button that will create new sell. Sell has information about an item and respective visit. This sell will use item that is already linked to another sell.
Server saves the data and sends back JSON-API response describing the saved data. Exactly at that moment, all the already existing sells will lose their relationship link to their item - this is unexpected behaviour. It works with any number of sells. All the already loaded sells will lose the relationship link.
I'm using gem 'jsonapi-resources', '0.9.2' to generate my data.
The expected behaviour is that no sell will lose the relationship to the item after creating new sell.
Versions
First known problematic version:
"ember": "3.4.3",
"ember-data": "3.5.0",
Tested versions of ember-data:
3.4.2 - no bug
3.4.4 - no bug
3.5.0 - bug present
3.6.0 - bug present
The text was updated successfully, but these errors were encountered:
Reproduction
Description
Server saves the data and sends back JSON-API response describing the saved data. Exactly at that moment, all the already existing sells will lose their relationship link to their item - this is unexpected behaviour. It works with any number of sells. All the already loaded sells will lose the relationship link.
Versions
First known problematic version:
Tested versions of ember-data:
The text was updated successfully, but these errors were encountered: