pentaho/pentaho-platform-plugin-common-ui — pull request #113 by rfellows (2013-12-13 21:07:19+00:00)
Title: BISERVER-10729 - Loading of some common-ui resources is causing 500 server errors on first server startup.

BISERVER-10729 - Loading of some common-ui resources is causing 500 server errors on first server startup.

This problem manifested as a failure of plugins to register themselves with the PucPlugin API due to a failure to load certain resources. Some common-ui js libs are being requested prior to authentication being complete (underscore and others). The user would notice that they couldn't click on anything on the home screen. a refresh would fix the problem, but a fresh server restart "might" show this problem a gain.

This change changes the requirejs configuration to use the "content" path of resolving resources vs api/repos since api/repos is locked down to authenticated requests only.