You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting. Would you add details about the version of uDig you are tested with? Wondering if this is 1.2.x, 1.4.x or even 2.x? I've seen GeoTools version 2.6.6 and 20.3 is set in mentioned issued field, looks like it is an old bug that still exists in current GT-Releases..
I just tried this to my machine running udig 2.x. It seems that the problem does exist when you create a layer with geom type 'Geometry' with null allowed set to false. In that case indeed a
java.lang.IllegalArgumentException: class com.vividsolutions.jts.geom.Geometry is not supported by this method
is thrown. However wif during creation null allowed is set to true then creation and saving is possible (in the latter case though occasianally another issue may arise related to the assignment of fid values).
Hey guys, thanks for checking this out.
(I try to confirm issues in the master branch before reporting them.)
The geometry layers do seem to work fine when "null allowed" is true.
I can confirm the fid issue.
It you have a create-geometry tool active and switch to a different layer that also supports that geometry it often shows the fid exception until you choose a different tool.
To reproduce:
I believe this is caused by a bug in GeoTools.
GEOT-6275
PostGIS layers with type "Geometry" seem to work correctly.
The text was updated successfully, but these errors were encountered: