In /datatypes delete a datatype parents of a datatype, not work.
No error in console.
The datatype 3 had 1 and 8 as parent. I deleted 8 from edit form and then i save but datatype 8 remains. This is what returned on console:
KnexStrategy.updateDataType - child-parent association found: 3-1
{ parents: [ 1 ],
name: 'Report RM',
schema:
{ body:
[ [Object],
[Object],
[Object],
[Object],
[Object],
[Object],
[Object] ],
header:
{ name: 'Report RM',
model: 'Data',
version: '0.0.1',
ontology: '',
fileUpload: false,
description: 'Analysis RM' } },
model: 'Data',
id: 3,
createdAt: Tue Sep 15 2015 11:45:11 GMT+0200 (CEST),
updatedAt: Thu Jan 28 2016 17:36:17 GMT+0100 (CET) }
{ id: 1,
isWheel: true,
isManager: true,
canAccessPersonalData: true,
canAccessSensitiveData: true }