Closed ftomassetti closed 6 months ago
You are right, we should always first check whether something that gets inserted is not null or empty. Probably need to add such a check at other places as well.
Fixed this one and (hopefully) all others of this type in branch reference-changes
Fixed in main branch
I am inserting a tree with a single node (the root). The concept of the root itself does not specify containments: that concept can just have two properties.
When trying to store it I get:
The LionWebQueries.js lines are:
The problem seems to be
pgp.helpers.insert(insertRowData, containmentsColumnSet);
and with the first parameter in particular. So I guess that ifinsertRowData
is empty we should skip the call toinsert