You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The third record in the history table shows eindbewerking = 4 which is a delete.
Then the fourth shows beginbewerking = 1 which is an insert, so after delete there is an insert. Note: there is no insert at the start, which is because the capakey format changed, the original capakey had an insert record.
Concerning issue(s): GRAR-1475
Data CRAB
The third record in the history table shows
eindbewerking = 4
which is a delete.Then the fourth shows
beginbewerking = 1
which is an insert, so after delete there is an insert.Note: there is no insert at the start, which is because the capakey format changed, the original capakey had an insert record.
Events
At StreamVersion 7 event
ParcelWasRemoved
is applied. But there are CRAB events applied afterwards. Which should not be possible. However, this was only fixed since Informatievlaanderen/parcel-registry@e4c2a5b#diff-597a3c9bce8b7cf275bb4dac462812af52bfa3aca52a7e7ce4cd1613dd2c8e5eR34-R35On 31/08/2020 fix (1475) was applied. (Informatievlaanderen/parcel-registry@b1264a7)
Problem
Now a new record for this parcel comes in. But the
IsRemoved
check makes it crash.Solution
First, we need an answer if the behavior of reinserting a removed parcel is valid.
If so, we'll need to change our code to allow reviving parcels.
After discussion it is possible, however very unlikely, that a parcel is restored.
We'll need to change our code so.
remove
from CRAB is followed by aninsert
we recover the parcel.The text was updated successfully, but these errors were encountered: