NOT_DISPLAYED annotation is not applied in case of defined to the dimension level
Following the release of #35 (closed), The following scenario is not applied.
Steps to reproduce
- Upload structure + data attached
OECD-ANN_NOT_SC1-1.0-data.csv
OECD-ANN_NOT_SC1-1.0-all.xml - In this example, the annotation type NOT_DISPLAYED is added to the dimension in the DSD deinition, like so:
<structure:Dimension id="DIMENSION_HIDDEN2" urn="urn:sdmx:org.sdmx.infomodel.datastructure.Dimension=OECD:DSD_ANN_TEST(2.0).DIMENSION_HIDDEN2" position="8">
<common:Annotations>
<common:Annotation id="ANN_HD2">
<common:AnnotationType>NOT_DISPLAYED</common:AnnotationType>
<common:AnnotationURL/>
<common:AnnotationText/>
</common:Annotation>
</common:Annotations>
<structure:ConceptIdentity>
<Ref id="DIMENSION_HIDDEN2" maintainableParentID="CS_ANN" maintainableParentVersion="1.0" agencyID="OECD" package="conceptscheme" class="Concept" />
</structure:ConceptIdentity>
<structure:LocalRepresentation>
<structure:Enumeration>
<Ref id="CL_SECTOR_GDP" version="1.0" agencyID="MA_545" package="codelist" class="Codelist" />
</structure:Enumeration>
</structure:LocalRepresentation>
</structure:Dimension>
- It respects the agreed SDMX-JSON syntax (see in #35 (closed)) but it is not applied as expected in the below scenario 1.
#35 (closed)
Expected scenario (scenario 1 fromScenario 1: Hide dimensions marked with annotation "NOT_DISPLAYED"
Given that I'm using the DE visualisation page
When a dataflow dimension has an annotation "NOT_DISPLAYED" (see SDMX-JSON syntax below)
Then in addition of hiding the dimension in the table's/chart's sub-title (when only one single value is selected or returned (as of Release v0.5 March 2019)), this dimension should also not appear in the filters.
Edited by jean-baptiste nonin