Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated config.xqm module doesn't follow naming convention for the register and annotations (possible bug) #224

Open
daliboris opened this issue Apr 15, 2024 · 0 comments

Comments

@daliboris
Copy link
Contributor

The variable $config:register-map in the template for generating applications contains an array of entities with predictable values.

The value id for organization is not consistent with the other values because it is singular, not plural, see

"id": "pb-persons"
...
"id": "pb-places"
...
"id": "pb-organization"

The last value should be pb-organizations.

It's also important that the file register/organizations.xml contains @xml:id with the value "pb-organizations!

This can cause problems with saving and loading the organization to and from the registry in the generated apps (not in the TEI Publisher 9 itself).

All values in the "working" config.xqm module are in plural.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant