Menu

Commit [r854]  Maximize  Restore  History

Bugfix line (516).

'selectedFeature.getAttribute(attributeName)' throws an Exception if the attribute doesn't exist. So it nether returns null and check fails.
Instead use 'selectedFeature.getFeatureSchema.hasAttribute(attributeName)' to check if an attribute exist.

wellgis 2017-01-31

changed /branches/dev 1/src/de/luh/iup/manuela/fieldattribute/FieldAttributeFXController.java
/branches/dev 1/src/de/luh/iup/manuela/fieldattribute/FieldAttributeFXController.java Diff Switch to side-by-side view
Loading...
Auth0 Logo