Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[lyo-dev] Defect in the Bugzilla Application rootservices

Hi,

 

I would like to report a defect in the Eclipse lyo project in the bugzilla application.
 
The rootservices about URI given in the rootservices page is:
 
http://<server name>:<port>/OSLC4JBugzilla/services/rootservices,
 
instead of:
 
http://<server name>:<port>/OSLC4JBugzilla /rootservices
 
 
The reason is that the rootservices servlet:
 
org.eclipse.lyo.oslc4j.bugzilla.services.RootServicesService
(http://git.eclipse.org/c/lyo/org.eclipse.lyo.docs.git/tree/org.eclipse.lyo.oslc4j.bugzilla/src/main/java/org/eclipse/lyo/oslc4j/bugzilla/services/RootServicesService.java)
 
is forwarding the request to the jsp:
 
cm/rootservices_rdfxml.jsp
(http://git.eclipse.org/c/lyo/org.eclipse.lyo.docs.git/tree/org.eclipse.lyo.oslc4j.bugzilla/src/main/webapp/cm/rootservices_rdfxml.jsp)
 
with the Attribute "baseUri" which value is: http://<server>:<port>/OSLC4JBugzilla/services
In the jsp, the line 28 is:
<rdf:Description rdf:about="<%= baseUri + "/rootservices" %>"
 
 
What is suggest is either:
 
for the servlet to add another URI without the "/services" in the request attribute (BugzillaManager.getServletBase()) and to use it in the jsp for the rootservices about
 
or to change the value of baseUri
(replace the line 46 in the servlet by:
request.setAttribute("baseUri", BugzillaManager.getServletBase());)
 
and add "/services" after “baseUri” for all the other services URI
 
 

Best regards,

--

Aurelien Bobey

 


Back to the top