-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.1.3.2
-
Component/s: Seam / JSF UI
The Restlet code version 1.0.1 from noelios contains a bug in the ServletConverter class in package com.noelios.restlet.ext.servlet.
The code in getBaseRef retrieves the Base URI from the HTTP request URI, however this is stored in the instance of the ServletConverter, which is held for the current Servlet instance.
This means that when accessing the URI http://localhost/nuxeo/restAPI/default/*/browse the base, http://localhost, is stored and thereafter only the base http://localhost is considered to be valid.
Thus accessing via http://127.0.0.1/nuxeo/restAPI/default/*/browse produces a blank page, the servlet considers there to be no restlet available for this URI.
This problem is fixed in later versions of the noelios code, this has been tested with the latest stable version 1.0.7 and this has been corrected, and exhibits expected behaviour of providing the restlet on any of the bound interfaces or DNS references for those interfaces.
To correct change the version in the pom.xml for nuxeo-platform-ui-web to 1.0.7.