JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-4999

HttpRequestBodyToParamMap should transform GET method

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 3.0.0-M4
  • Fix Version/s: 3.0.0-RC1
  • Component/s: Transport: HTTP(S) / Jetty
  • Labels:
    None
  • User impact:
    Medium
  • Similar Issues:
    None

Description

In org.mule.transport.http.transformers.HttpRequestBodyToParamMap, method public Object transform(MuleMessage message, String encoding), following code seems to be invalid:
boolean isUrlEncoded = contentType.startsWith("application/x-www-form-urlencoded");
It throws Null Exception when invoked with GET HTTP method.
Suggested change:
boolean isUrlEncoded = (contentType!=null)? contentType.startsWith("application/x-www-form-urlencoded") : false;

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Dirk Olmes
09/Aug/10 08:59 AM
View full commit
MULE-4999 (HttpRequestBodyToParamMap should transform GET method) git-svn-id: https://svn.codehaus.org/mule/branches/mule-3.x@18898 bf997673-6b11-0410-b953-e057580c5b09
3.1.x
+5
-1
transports/http/src/main/java/org/mule/transport/http/transformers/HttpRequestBodyToParamMap.java
Dirk Olmes made changes - 09/Aug/10 09:00 AM
Field Original Value New Value
Assignee Dirk Olmes [ dirk ]
Dirk Olmes made changes - 09/Aug/10 09:00 AM
Fix Version/s 3.0.0-RC1 [ 10859 ]
Priority To be reviewed [ 6 ] Minor [ 4 ]
Hide
Permalink
Dirk Olmes added a comment - 09/Aug/10 09:01 AM

3.x: http://fisheye.codehaus.org/changelog/mule/?cs=18898

Show
Dirk Olmes added a comment - 09/Aug/10 09:01 AM 3.x: http://fisheye.codehaus.org/changelog/mule/?cs=18898
Dirk Olmes made changes - 09/Aug/10 09:01 AM
Status Open [ 1 ] Closed [ 6 ]
Resolution Fixed [ 1 ]
Transition Time In Source Status Execution Times Last Executer Last Execution Date
Open Open Closed Closed
39m 1s 1 Dirk Olmes 09/Aug/10 09:01 AM
This list may be incomplete, as errors occurred whilst retrieving source from linked applications:
  • Repository mule on http://foo.bar/ failed: Error in remote call to 'FishEye 0 (http://foo.bar/)' (http://foo.bar) [AbstractRestCommand{path='/rest-service-fe/changeset-v1/listChangesets/', params={expand=changesets[-21:-1].revisions[0:29], comment=MULE-4999, p4JobFixed=MULE-4999, rep=mule}, methodType=GET}] : java.net.UnknownHostException: foo.bar

People

  • Assignee:
    Dirk Olmes
    Reporter:
    Łukasz Kolek
Vote (0)
Watch (0)

Dates

  • Created:
    09/Aug/10 08:22 AM
    Updated:
    09/Aug/10 09:01 AM
    Resolved:
    09/Aug/10 09:01 AM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.