[FOLIO-1299] Add valid language codes as an enum to Instance record JSON Schema Created: 21/Jun/18 Updated: 18/Jan/19 |
|
| Status: | Open |
| Project: | FOLIO |
| Components: | None |
| Affects versions: | None |
| Fix versions: | None |
| Type: | New Feature | Priority: | P3 |
| Reporter: | Theodor Tolstoy (One-Group.se) | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||
| Sprint: | |||||||||
| Development Team: | Core: Platform | ||||||||
| Description |
|
When reporting
I think it would make validating Instance records a bit easier. |
| Comments |
| Comment by Cate Boerema (Inactive) [ 21/Jun/18 ] |
|
Thanks, Theodor Tolstoy (One-Group.se). Trying to find the best person to direct this inquiry to. Niels Erik Nielsen, does this mean something to you? |
| Comment by Cate Boerema (Inactive) [ 21/Jun/18 ] |
|
Oh, I see. This looks like a proposed solution to this bug:
|
| Comment by Theodor Tolstoy (One-Group.se) [ 21/Jun/18 ] |
|
Well, sort of, but in any way, the UI should not crash like that. In my opinion |
| Comment by Niels Erik Nielsen [ 29/Jun/18 ] |
|
Agreed that it should not be implemented the current way in the long run. The language codes resides in a JavaScript file in the client, but that's a temporary solution. Language codes will eventually be stored in the database like most other reference data - for example in order to be able to update them by data loader scripts. An enum would be one way to do it, though we have considered that approach for other reference data, then shied away from it. Maybe language codes are different. |