Skip to main content

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

Thanks, Aurelien. I just merged a fix.
--
Samuel Padgett | IBM Rational | spadgett@xxxxxxxxxx
Eclipse Lyo: Enabling tool integration with OSLC


Inactive hide details for "Bobey, Aurelien" ---06/06/2014 05:28:47 AM---Hi,"Bobey, Aurelien" ---06/06/2014 05:28:47 AM---Hi,


    From:

"Bobey, Aurelien" <Aurelien.Bobey@xxxxxxxx>

    To:

<lyo-dev@xxxxxxxxxxx>

    Date:

06/06/2014 05:28 AM

    Subject:

[lyo-dev] Defect in the Bugzilla Application rootservices

    Sent by:

lyo-dev-bounces@xxxxxxxxxxx




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
 _______________________________________________
lyo-dev mailing list
lyo-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/lyo-dev


GIF image

GIF image


Back to the top