cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32491] New: - POST method in cinclude:includexml is broken
Date Thu, 02 Dec 2004 13:26:25 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32491>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32491

           Summary: POST method in cinclude:includexml is broken
           Product: Cocoon 2
           Version: 2.1.6
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: critical
          Priority: P2
         Component: sitemap components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: nverwer@email.com


Since Cocoon 2.1.6, the cinclude transformer does not handle the POST method
correctly. This is easy to see with the example from the Cocoon 2.1 docs:

  <cinclude:includexml>
    <cinclude:src>http://host:port/path</cinclude:src>
    <cinclude:configuration>
      <cinclude:parameter>
        <cinclude:name>method</cinclude:name>
        <cinclude:value>POST</cinclude:value>
      </cinclude:parameter>
    </cinclude:configuration>
    <cinclude:parameters>
      <cinclude:parameter>
	      <cinclude:name>message</cinclude:name>
	      <cinclude:value>Hi there</cinclude:value>
    	</cinclude:parameter>
    </cinclude:parameters>
  </cinclude:includexml>

In Cocoon 2.1.5 this made a HTTP-POST request, but in 2.1.6 it makes a HTTP-GET
request.

The code of the CInclude transformer does not seem to have changed. I suspect
that this is a bug in the Excalibur SourceResolver, but I can't find where this
could be. If someone can make this into a more specific Excalibur bug, please do.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message