[ https://issues.apache.org/jira/browse/NIFIREG-303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Koji Kawamura reassigned NIFIREG-303: ------------------------------------- Assignee: Koji Kawamura > TypeError: Cannot read property 'innerHTML' of undefined occurs with español > browser > ------------------------------------------------------------------------------------ > > Key: NIFIREG-303 > URL: https://issues.apache.org/jira/browse/NIFIREG-303 > Project: NiFi Registry > Issue Type: Bug > Reporter: Koji Kawamura > Assignee: Koji Kawamura > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > NiFi Registry UI throws a TypeError when it's accessed with a browser using > Spanish español. > UI tries to load a translation XML config file if user's browser locale is > not 'en-US'. Currently translation for español (es) is only available. With > other languages, the translation part will not be activated. > The UI expects messages.es.xlf is returned as a XML dom object, and access > its data with "documentElement.innerHTML". But the returned object is a > String. > [https://github.com/apache/nifi-registry/blob/master/nifi-registry-core/nifi-registry-web-ui/src/main/webapp/nf-registry-bootstrap.js#L64] -- This message was sent by Atlassian JIRA (v7.6.14#76016)