This fixes a bug in csv network creation in which edge tables rows that had no matching value in either the source or target table (i.e. there was no document that had a value matching that of the edge table in the required column) would still be blindly inserted. This would fail and cause an internal server error, since they contained a _from or _to field with a value of null.
Closes https://github.com/multinet-app/multinet-client/issues/256
This fixes a bug in csv network creation in which edge tables rows that had no matching value in either the source or target table (i.e. there was no document that had a value matching that of the edge table in the required column) would still be blindly inserted. This would fail and cause an internal server error, since they contained a
_from
or_to
field with a value ofnull
.