Incomplete cleanup of MappingSets or other things
Produced in complete emptied staging:SIS-CC-reset and also completely emptied qa:reset spaces where in addition a full cleanup (DELETE /cleanup/dsd
) was made:
Upload of structures without AllowedContentConstraints and of related data resulted in an error _An 'allowed content constraint' is violated for dimension ..._
. This should not be possible because there is no AllowedCC.
A corresponding AllowedCC existed previously bevor the spaces were completely emptied.
Screen recording: Ghost_content_constraints
Example files:
- all structures with AllowedCC (to be used first in a fresh environment before everything is deleted and restarted with the next files): https://gitlab.com/sis-cc/.stat-suite/dotstatsuite-data-lifecycle-manager/uploads/535ccfa4322d2adcaca5e86cbee97490/OECD.SDD.NAD-NAMAIN1_NAMAIN1_T0102_Q_capita-1.0-all.xml
- structures without AllowedCC (to be used second after a full deletion of the previous structures and data load): OECD.SDD.NAD-NAMAIN1_NAMAIN1_T0102_Q_capita-1.0-without_AllowedCC.xml
- data (to be loaded twice): https://gitlab.com/sis-cc/.stat-suite/dotstatsuite-data-lifecycle-manager/uploads/00d09bf4b3618db04a5660052802ba09/NAMAIN1_NAMAIN1_T0102_Q_capita_data.xml
Notes:
- It is normal and expected that the first data load fails because of the AllowedCC violation, but this step is necessary to have the mappingset created. In the second load without ActualCC the data load should not fail anymore (at least not for this reason).
- We have another ghost structure error in another ticket:
where the DSD doesn't contain a UNIT_MEASURE attribute, but maybe it was in a previous deleted version...
Edited by Jens Dossé