NOT_DISPLAYED annotation is not applied to ATTRIBUTE when defined to the dataflow level
Following the release of #35 (closed),
The following scenario is not applied for NOT_DISPLAYED applied to Attributes in the Dataflow definition.
Steps to reproduce
-
Upload structure + data attached (see the same case already uploaded in qa/reset here)
OECD-SPS_ATT_TEST_NOT_DISPLAYED-1.0-data.csv
OECD-SPS_ATT_TEST_NOT_DISPLAYED-1.0-all.xml -
In this example, the annotation type NOT_DISPLAYED is added to the dataflow definition for the OBS_STATUS (concept) representing the CL_FLAG codelist, like so:
...
<structure:Dataflows>
<structure:Dataflow id="SPS_ATT_TEST_NOT_DISPLAYED" urn="urn:sdmx:org.sdmx.infomodel.datastructure.Dataflow=OECD:SPS_ATT_TEST_NOT_DISPLAYED(1.0)" agencyID="OECD" version="1.0" isFinal="false">
<common:Annotations>
<common:Annotation>
<common:AnnotationTitle>OBS_STATUS</common:AnnotationTitle>
<common:AnnotationType>NOT_DISPLAYED</common:AnnotationType>
</common:Annotation>
<common:Annotation>
...
- It respects the agreed SDMX-JSON syntax (see in #35 (closed)) but it is not applied as expected in the below scenario 3.
#35 (closed))
Expected scenario (scenario 3 fromScenario 3: Hide attributes marked with annotation "NOT_DISPLAYED"
Given that I'm using the DE visualisation page
When a dataflow attribute has an annotation "NOT_DISPLAYED" (see SDMX-JSON syntax below)
Then the attribute is not displayed in the table.