Hello Dev Team,
i just was working with the "Creating an Image Gallery"-example from the "Oracle REST Data Services" documentation http://www.oracle.com/technetwork/developer-tools/rest-data-services/documentation/listener-dev-guide-1979546.html#example_creating_an_image_gallery and tried to register an application for 3rd-party-authorization following chapter "Registering the 3rd party application".
I called the register application with URI /ui/oauth2/clients/ as described. Here the problem started. The page loaded without any styles and scripts! So, the registering process could not be completed due to missing scripts. A quick look with the developer tools of the browser revealed broken links to static content of the register application. The page tried to load static content from /js und /css subdirectories but could not find any.
After trying different things i finally stepped down the directory structure below the <TOMCAT_HOME>/webapps/ords-root and found a file called static.jar in WEB-INF/lib. A listing of the content of the jar file showed the problem. Inside the jar-file there is a directory structure like this: www/<lang_code>. And here is the source of the problem: The subdirectories for js and css are only available for lang code "en", not for any other language! But my browser is running in german language environment!
The workaround was to change the language of my browser to English and the application page now loaded as expected. But it would be very helpful if you could fix this problem in a future release.
Here some details of my system environment:
ORDS v2.0.10 running on Apache Tomcat on Linux
Tested with Google Chrome in a german environment
Regards,
Jens