irstv/orbisgis — pull request #347 by agueganno (2013-03-25 15:18:31+00:00)
Title: Fix a validation problem that can prevent edition.

LengthConstraint did not validate null values the good way. We are not
interested in the toString() representation of NullValue instances but
in the fact they are null and consequently don't have a length. A null
value can't be invalidate by a constraint put on length.

That should solve the problem described in #338. Finally, this ticket is
not really linked to edition but to constraints. I've improved the error
message returned by PolygonTools when facing a DriverException, too. The
previous one was quite... frustrating...