Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
ManifoldCF 2.13
-
None
Description
In the edge case that the id column is null, the error message doesn't suggest that.
Object o = row.getValue(JDBCConstants.idReturnColumnName); if (o == null) throw new ManifoldCFException("Bad seed query; doesn't return $(IDCOLUMN) column. Try using quotes around $(IDCOLUMN) variable, e.g. \"$(IDCOLUMN)\", or, for MySQL, select \"by label\" in your repository connection."); String idValue = JDBCConnection.readAsString(o);
Also, should it entirely fail if one $IDCOLUMN record is null?