Open
Description
When using the created
event, the spatial fields will not yet be set to the Point value. Therefor inside the created event you'll get a model which has the SpatialExpression
as value for the spatial fields.
You'll see in the SpatialTrait
class on line 82
the performInsert
is fired, which triggers the created
event at the end. Then on line 84
the Point values are set. Which is too late. I'll try think of a solution to this problem myself.