There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Hi Marco, thanks for the fix. I have just one note to add: it seems that in master is not possible to add a polygon when this is digitized "against" an existing one and the latter has errors in it. So in this cases the users will receive a "The feature cannot be added because it contains an empty geometry" message even when they think is doing the right thing (and it really seems like that). So I guess that in this cases a different error message should be thrown. But more important seems the necessity to add an option that would not allow to commit a geometry if this is not valid, see http://hub.qgis.org/issues/7235 .
Sorry, something went wrong.