Error messages are missing in the config/localization.json file
Some user error messages do not seem to be centralised in the config/localization.json file, but all user error messages need to. The task is to systematically review the code and centralise all user error messages in the config/localization.json file.
Examples:
-
"The field ... could not be found...": The field ... could not be found in the data source\nPlease make sure the data source is compatible with the StatWorks dataset or define an appropriate mapping
-
"Dimension with ID [..] is missing in the csv file" -------- Message d'origine -------- De : build@siscc..org Date : 20/04/2020 20:20 (GMT+01:00) À : user@email.com Objet : Failed: .Stat data request for 'ABS:WPI(1.0.0)' in 'staging:SIS-CC-stable' (ID 416) Dear DLM user, your transfer has been processed in the system, please see below the details: Summary - Request ID: 416 - Data source: ABS-WPI-1.0.0-data.csv - Destination data space: staging:SIS-CC-stable - Dataflow: ABS:WPI(1.0.0) - User: user@email.com - Request status: Failed Transaction messages Date Level Message 04/20/2020 18:20:24 NOTICE Successfully registered request with ID: 416 04/20/2020 18:20:24 WARN No observations were processed Details 04/20/2020 18:20:24 ERROR Dimension with ID [FREQ] is missing in the csv file
-
Excel+EDD upload (from @anastassia): Could not customize message template for validation error with the provided parameters. Validation error [KeyValueError.AttributeNotInDsd] Template: [Attribute {3} not defined in DSD {4}. Details] Parameters: [3],[],[],[UNIT_MULT] Exception: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.
-
When Attribute ID cannot be found in EDD file (from @anastassia): Attribute code is null Attribute code is null Attribute code is null Attribute code is null Attribute code is null
-
When in a DSD an attribute was turned into a dimension, but a subsequent data import still presented the dimension as an attribute (from @anastassia): Column 'DIM_334' does not allow DBNull.Value.
Example files: Structure SDD_NA_Multiple.xml, Data NAMAIN_data__1_.xml
-
When the source DF doesn't have any data uploaded: Artefact not found in Management DB: OECD.SDD:NAMAIN_ALL(1.0), Type: DF
-
When using the SDMX-ML upload and in the <message:DataSet action="Information" structureRef="OECD.SDD_NAMAIN_3_0"> tag is a wrong version number: Dataset references CategorisationStructure that is not defined in the Header of the message. CategorisationStructure reference defined by Dataset is:OECD.SDD_NAMAIN_3_0
By the way, the error provided is about categorisation which is unrelated with the real error (wrong version number).