The migrations importing the public OCMW association's contact data contained a
faulty query that matched on empty KBO numbers. As a result contact data was
incorrectly inserted to some AGBs that also do not have a KBO number. This
migration removes the incorrect data.
The migrations importing the public OCMW association's address data contained a
faulty query that matched on empty KBO numbers. As a result address data was
incorrectly inserted to some AGBs that also do not have a KBO number.
This migration removes the incorrect data, which as inserted into the
triplestore next to actual address. Furthermore, this also (re-)inserts the
correct provinces for the affected AGBs.
Removed incorrect queries that match on empty KBO numbers. This is to avoid the
same incorrect data being imported in case the migration is executed again at
some point.
The change events related to an organisation contains some data errors:
- There is a change event result without any corresponding change event. This
causes an error when visiting the change events page for this organisation.
- There are two identical change event results for the same change event. This
causes the change event to be shown twice in the table. (Only on PROD)
The added migration removes these unnecessary elements change event results.
Virtuoso occasionally fails to properly process the original migrations due to
too many requests. To counter this the graph operated on is explicitly specified
and the migration for OCMW associations is split into multiple ones.
The initial migrations lacked the necessary bestuursfuncties for the onboarded
organisations, consequently the synchronisation of functionaries with Loket did
not work properly. These new migrations add the necessary bestuursfuncties
as extracted from Loket. Furthermore, the migrations creating governing bodies
and bestuursfuncties for organisations not in Loket are corrected as they
previously had no effect due to errors in their queries.