Some staff client UIs break with alternate default locale
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
EG 3.3
In eg_vhost.conf, there is a section under the heading "Run server-side XUL and XHTML through xmlent to load the correct XML entities" which uses en-US as the default locale for some parts of the client. If you use a different default locale, attempting to load some legacy UIs in the web client will result in an internal server error.
Apache logs show errors like the following:
unable to include "/opac/
XMLENT XML Parse Error: syntax error at line 19: parsing /openils/
The file opac/locale/
Affected pages include Dojo-based UIs that still use old XUL/XHTML components. Under Administration > Local Administration:
- Cash Reports
- Shelving Locations Editor
- Library Setting Editor
- Non-Catalogued Types Editor
- Statistical Categories Editor
Under Administration > Server Administration:
- Organizational Types
- Organizational Units
- Permission Groups
Administration > Reports also returns an internal server error.
Administration > User Permissions Editor appears to work as the interface opens with the patron barcode fields, but when you enter a barcode you get an internal server error.
tags: | added: admin-pages i18n |
To test:
1. In eg_vhost.conf, under "Run server-side XUL and XHTML through xmlent to load the correct XML entities" (around line 257), modify the RewriteRule directives in order to change the default locale from en-US to another installed locale.
2. Reload Apache.
3. Navigate to one of the affected pages listed above and see if you get an internal server error.