It seems Orbeon 4.8 CE inserts two slashes after the general prefix in many (but not all) of its eXist-db requests. For example:
GET /exist/rest/db/orbeon-pe/fr//orbeon/builder/data/ffc2e000942578021b21f9995413501c2dd6e6bc/data.xmlI specifically checked that "oxf.fr.persistence.exist.exist-uri" does not end with a slash. Bug or feature, or do I miss something? It doesn't seem to bother eXist-db but other software may react. |
Administrator
|
Hi Hakan,
I haven't noticed that; how can we reproduce this? Do you know if this is this also happening with the embedded eXist? Alex On Wed, Apr 1, 2015 at 8:19 AM, 'sodastream' via Orbeon Forms <[hidden email]> wrote: > It seems Orbeon 4.8 CE inserts two slashes after the general prefix in many > (but not all) of its eXist-db requests. For example: > > I specifically checked that "oxf.fr.persistence.exist.exist-uri" does not > end with a slash. > > Bug or feature, or do I miss something? It doesn't seem to bother eXist-db > but other software may react. > > -- > View this message in context: http://discuss.orbeon.com/Double-slashes-in-eXist-db-interface-tp4659741.html > Sent from the Orbeon Forms community mailing list mailing list archive at Nabble.com. > > -- > You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. > To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. > To post to this group, send email to [hidden email]. -- You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Hi Alessandro, no I don't know about the embedded eXist. Here is my setup to see what's happening.
-- Orbeon 4.8 CE listening on port 8080 -- eXist-db 2.2 listening on port 48080 I captured browser traffic with "Live HTTP headers" and eXist-db traffic with WireShark. A condensed report follows below. My comments in [[...]]. This is just one example, but the behavior is similar in Save and Publish. /Hakan [[In Orbeon Form Builder, click "Summary"]] GET /orbeon/fr/orbeon/builder/summary HTTP/1.1 Host: localhost:8080 POST /exist/rest/db/orbeon-pe/fr/orbeon/builder/data/?page-size=10&page-number=1&query=&lang=sv HTTP/1.1 Content-Type: application/xml Orbeon-Token: f8f1b3583ea30fbbb54c82be7069d67e31c09081 Content-Length: 6172 Host: localhost:48080 [[lengthy body excluded: eXist query]] HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Content-Type: application/xml;charset=UTF-8 Transfer-Encoding: chunked [[lengthy response beginning with:]]<exist:result xmlns:exist=... [[Summary is rendered ok in the browser]] [[Click on a form in the summary]] [[Several requests fetching css, js, and image resources omitted]] GET /orbeon/fr/orbeon/builder/edit/30739057c2d8a25bd9584b225079ebcf7579d888 HTTP/1.1 Host: localhost:8080 POST /exist/rest/db/orbeon-pe/fr?collection=/orbeon/builder/data/30739057c2d8a25bd9584b225079ebcf7579d888&username=&groupname=&method=GET HTTP/1.1 Content-Type: application/xml Orbeon-Token: f8f1b3583ea30fbbb54c82be7069d67e31c09081 Content-Length: 3041 Host: localhost:48080 [[body contains eXist query]] HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Content-Type: application/xml;charset=UTF-8 Transfer-Encoding: chunked [[body reports that the collection does not exist]] ...<data-exists>false</data-exists> [[HERE ARE THE DOUBLE SLASHES--vv--]] GET /exist/rest/db/orbeon-pe/fr//orbeon/builder/data/30739057c2d8a25bd9584b225079ebcf7579d888/data.xml HTTP/1.1 Orbeon-Token: f8f1b3583ea30fbbb54c82be7069d67e31c09081 Host: localhost:48080 Connection: Keep-Alive Cookie: JSESSIONID=AF245A5A8C2C2AE4D500349FD5CCA8D6 Cookie2: $Version=1 Authorization: Basic [[authentication]] Accept-Encoding: gzip,deflate HTTP/1.1 200 OK Server: Apache-Coyote/1.1 Content-Type: application/xml;charset=UTF-8 Transfer-Encoding: chunked [[lengthy body containing the form definition]]<?xml version="1.0"?><xh:html xmlns:xh=... ... </xh:html> [[The form is rendered ok in the browser]] |
Administrator
|
Hi Hakan, Got it; I was able to reproduce this, and even if it doesn't seem to cause any issue created this issue: Alex On Wed, Apr 1, 2015 at 11:50 PM 'sodastream' via Orbeon Forms <[hidden email]> wrote: Hi Alessandro, no I don't know about the embedded eXist. Here is my setup to You received this message because you are subscribed to the Google Groups "Orbeon Forms" group. To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email]. To post to this group, send email to [hidden email].
--
Follow Orbeon on Twitter: @orbeon Follow me on Twitter: @avernet |
Administrator
|
This is now fixed.
-Erik |
Amazing, I made myself a cup of coffee and when I got back the issue was gone. Speed of light! /Hakan
|
Administrator
|
I wish we could fix all bugs that fast ;)
-Erik |
Free forum by Nabble | Edit this page |