UdL-EPS-SoftArch / TextAnnot-API

Written Corpus Annotation tool
GNU General Public License v3.0
1 stars 4 forks source link

Not proper message["Object object"] when trying to delete tag that has a child #79

Open pajson1 opened 5 years ago

pajson1 commented 5 years ago

When you try to delete tag that already has a child. we get a error message 409

pajson1 commented 5 years ago

By looking closely the error is "Referential integrity constraint violation: "FK7QMVVBJEHHPPYL7SHLE3QELI1: PUBLIC.TAG FOREIGN KEY(PARENT_ID) REFERENCES PUBLIC.TAG(ID) (2)"; SQL statement: delete from tag where id=? and version=? [23503-197]"

pajson1 commented 5 years ago

Also the same when you try to delete Tag Hierarchy which has Tags