IDEMSInternational / open-app-builder

PLH App Frontend
GNU General Public License v3.0
5 stars 24 forks source link

[BUG] Data items cannot loop over list with translatable column #2310

Closed esmeetewinkel closed 1 month ago

esmeetewinkel commented 2 months ago

Describe the bug Data items cannot loop over list with translatable column (whereas items can). When attempting to do so, the console displays an error

error-handler.service.ts:65 ERROR RxError (SC1): RxError (SC1):
fieldnames do not match the regex
Given parameters: {
regex:"^[a-zA-Z](?:[[a-zA-Z0-9_]*]?[a-zA-Z0-9])?$"
fieldName:"_translations"}
    at newRxError (rx-error.js:98:10)
    at checkFieldNameRegex (check-schema.js:34:21)
    at checkField (check-schema.js:47:102)
    at check-schema.js:138:9
    at Array.forEach (<anonymous>)
    at traverse (check-schema.js:135:29)
    at check-schema.js:142:7
    at Array.forEach (<anonymous>)
    at traverse (check-schema.js:135:29)
    at validateFieldsDeep (check-schema.js:145:3)

App version v0.16.31

Debug Template debug_data_items_translate which loops over the data list debug_data_list

Screenshots and videos image image