-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Won't Fix
-
Affects Version/s: 5.3 GA
-
Fix Version/s: 5.4.2
-
Component/s: Dashboard / OpenSocial (deprecated)
After trying to make OpenSocial dashboard work with my HTTPS Nuxeo server, found that HTTP mode is hard-coded in source code:
nuxeo-features/nuxeo-opensocial/nuxeo-opensocial-container-space-config/src/main/java/org/nuxeo/opensocial/container/factory/utils/ServerBase.java:
private static final String HTTP = "http://";
nuxeo-features/nuxeo-opensocial/nuxeo-opensocial-dashboard/src/main/java/org/nuxeo/opensocial/dashboard/Dashboard.java:
return "http://" + host + ":" + port + "/";
nuxeo-features/nuxeo-opensocial/nuxeo-opensocial-gadgets-core/src/main/java/org/nuxeo/opensocial/gadgets/service/GadgetServiceImpl.java:
private static final String HTTP = "http://";
Should be easy to add this new parameters to handle that probem:
gadgets.mode (http or https )
lmportal.deploy.mode (http or https )
(Or better : replace all gadgets.* stuff by gadgets.url, same for lmportal.deploy.* replaced by lmportal.deploy.url)