The removal of properties prefixed with an underscore should only be removed at insert.
DoToUpdateStatement already removes these properties in a copy propertybag. DoToInsertStatement should do this to.
This solves the problem that properties prefixed with an underscore aren't present in the propertybag in DoAfterCreate listeners.
The removal of properties prefixed with an underscore should only be removed at insert. DoToUpdateStatement already removes these properties in a copy propertybag. DoToInsertStatement should do this to.
This solves the problem that properties prefixed with an underscore aren't present in the propertybag in DoAfterCreate listeners.