CSOIreland / PxStat

Data Dissemination Management System for publishing Statistics in Open Data formats.
MIT License
34 stars 7 forks source link

[BUG] Unexpected error when importing a dual language file using Gaeilge interface #408

Closed liamie closed 3 years ago

liamie commented 3 years ago

Describe the bug The file is fine importing using the English interface and an english only files seem fine using Gaeilge interface but dual language gives this error using Gaeilge image

in logging PxStat.Template.BaseTemplate_Create 2 error

To Reproduce Steps to reproduce the behavior:

  1. Set interface language to Gaeilge
  2. Click on Tóg > Iompórtáil

image

Import file, the validation goes through correct but the import fails e.g. file EY037

neilfromcork commented 3 years ago

@damienderoistecso - You need to send the LngIsoCode for a Build Import if a non-default language is being used. Otherwise the API will misinterpret the FrqValueTimeval as being in the default language and will then fail to find it.

damienderoistecso commented 3 years ago

@damienderoistecso - You need to send the LngIsoCode for a Build Import if a non-default language is being used. Otherwise the API will misinterpret the FrqValueTimeval as being in the default language and will then fail to find it.

LngIsoCode now included in input parameters for "PxStat.Data.Matrix_API.Create" @liamie ready for testing