{"action":"opened","issue":{"url":"https://api.github.com/repos/emberjs/data/issues/3769","labels_url":"https://api.github.com/repos/emberjs/data/issues/3769/labels{/name}","comments_url":"https://api.github.com/repos/emberjs/data/issues/3769/comments","events_url":"https://api.github.com/repos/emberjs/data/issues/3769/events","html_url":"https://github.com/emberjs/data/issues/3769","id":106524497,"number":3769,"title":"Upgrade from 1.13.8 to 1.13.11 breaks our app","user":{"login":"tschoartschi","id":1695329,"avatar_url":"https://avatars.githubusercontent.com/u/1695329?v=3","gravatar_id":"","url":"https://api.github.com/users/tschoartschi","html_url":"https://github.com/tschoartschi","followers_url":"https://api.github.com/users/tschoartschi/followers","following_url":"https://api.github.com/users/tschoartschi/following{/other_user}","gists_url":"https://api.github.com/users/tschoartschi/gists{/gist_id}","starred_url":"https://api.github.com/users/tschoartschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tschoartschi/subscriptions","organizations_url":"https://api.github.com/users/tschoartschi/orgs","repos_url":"https://api.github.com/users/tschoartschi/repos","events_url":"https://api.github.com/users/tschoartschi/events{/privacy}","received_events_url":"https://api.github.com/users/tschoartschi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-15T10:08:58Z","updated_at":"2015-09-15T10:08:58Z","closed_at":null,"body":"Basically we display a catalog with tags and items. Therefore we fetch the data with ember-data and render it. With ember-data 1.13.8 everything worked fine but after an upgrade to 1.13.11 our catalog is broken. The strange thing is, it only effects some items. The effected items have the property type with value \"configuration\" (which is returned as as string from the server but is is a belongsTo relation). The model definitions look as follows:\r\n\r\nThe catalog model: ```app/models/catalog.js```\r\n```javascript\r\nexport default DS.Model.extend({\r\n    // some proprties, which are strippe due to readability\r\n    // Relationships\r\n    tenant: DS.belongsTo('tenant', {async: true}),\r\n    items: DS.hasMany('item', {async: true}),\r\n    allItems: DS.hasMany('item', {async: true, inverse: null}),\r\n    components: DS.hasMany('component', {async: true}),\r\n    materials: DS.hasMany('material', {async: true}),\r\n    tags: DS.hasMany('tag', {async: true}),\r\n    allTags: DS.hasMany('tag', {async: true}),\r\n    rootTags: DS.hasMany('tag', {async: true}),\r\n});\r\n```\r\nThe item model: ```app/models/item.js```\r\n```javascript\r\nexport default DS.Model.extend({\r\n    // some proprties, which are strippe due to readability\r\n    hidden: DS.attr('boolean'),\r\n    sort: DS.attr('number'),\r\n\r\n    // Relationships\r\n    catalog: DS.belongsTo('catalog', {async: true, inverse: null}),\r\n    detailType: DS.belongsTo('detailType', {async: true, inverse: null}),\r\n    type: DS.belongsTo('objectType', {async: true, inverse: null}),\r\n    tags: DS.hasMany('tag', {async: true, inverse: null})\r\n});\r\n```\r\nThe tag model: ```app/models/tag.js```\r\n```javascript\r\nexport default DS.Model.extend({\r\n    // some proprties, which are strippe due to readability\r\n    // Relationships\r\n    catalog: DS.belongsTo('catalog', {async: true, inverse: null}),\r\n    tags: DS.hasMany('tag', {inverse: null}),\r\n    parents: DS.hasMany('tag', {inverse: null}),\r\n    items: DS.hasMany('item', {async: true, inverse: null}),\r\n});\r\n```\r\n\r\nAt first we fetch the catalog, then we iterate over the tags of the catalog and then we fetch all items belonging to each tag. Everything works fine, except items which have a type ```configuration```, these items don't have any properties, only the id is set. So we can not access properties like ```sort```or ```hidden```. Until version 1.13.8 of ember-data we had no issues and every property was available (also on items with type === ```\"configuration\"```). Downgrading from 1.13.11 to 1.13.8 fixes this issue but I don't like the idea that we can not update anymore. Did we discovered some edge case in ember-data or is it just some misconfiguration from our side?\r\n\r\nWe use ember-cli 1.13.8 with ember 1.13.10 and we want to use ember-data 1.13.11 or .12. Right now we can just use ember-data 1.13.8. \r\n\r\nIf you need more information to track down this problem, let me know.\r\n\r\nAll the best \r\nTschoartschi"}}