When in a multilingual environment, you may have noticed that the values offered in Behavior / Navigation Control appear in ENU and your local language(s).
This is because the underlying LOV (NavCtrlPR) does not have the translated flag set. However, after setting the translation flag (and restarting the server) the clients that access the object manager of your local language show a "blank screen". (The menu bar appears, but without any text. The toolbar sets up - but nothing else is displayed).
In the javascript console of your browser, an error appears that looks like this:
Die Uncaught TypeError: Cannot read property 'Show' of undefined
@
|
navctrlmngr.js?_scb=8.1.1.14_SIA_[23044]_DEU:39
|
In other browsers the error message could be different. The error also differs from time to time. For example, I had also errors saying that the method ShowUI() of undefined cannot be executed.
After some debugging I saw that the error appears right after a business service (that initializes the navigation) was called from javascript. The assumption is, that the Javascript relies on english values to be provided and thus, the UI crashes when receiving something different - but I did not verify this.
However, resetting the translate flag of NavCtrlPR to false solved the problem. I only know of 2 variants now how to display the navigation control:
- Display the values of all installed languages
- Display only ENU languages
- You can achieve this by setting the inactive flag of the local entries in the LOV so only the ENU values remain active
If somebody knows an alternative way (or maybe even a solution) to cope with this problem, please feel free to leave a comment.
Keine Kommentare:
Kommentar veröffentlichen