I note that the demo server is reset daily, so I’m starting over from scratch today.
However when I create a dictionary and click on it, I get a blank screen, and the console has this error:
TypeError: this.props.dictionaryConcepts.filter is not a function
at t.value (DictionaryContainer.jsx:184)
I notice looking at the network tab that no query was ever made for any concepts:
At this point I am stuck and I cannot test any further.
Since I was poking around in the JSON I noticed two things:
you should be setting
custom_validation_schema to OpenMRS on the source and dictionary. (I don’t know the exact string value it’s supposed to be set to, check the documentation.)
The back-end has
supported_locales, and we’re capturing these slightly differently in our UI (default, and additional). The value we save in
supported_locales should be default + additional, but you’re just saving additional locales directly there. A correct example would look like this:
- default_locale: en
- supported_locales: en, fr // instead in this example you saved just “fr”
#2 is probably the cause of the bug where one concept is displayed with it’s French name.