Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Blocker
-
Resolution: Fixed
-
Affects Version/s: 1.3.4
-
Component/s: Converters
-
Labels:None
-
Environment:Windows XP/Vista
Description
Automatic parsing of a POST-request with XML (application/xml) content into a domain instance fails with Grails v1.3.4. parseRequest ist properly set in UrlMappings. I've attached two sample projects (v1.3.3 and v1.3.4)
Try to do da POST request with:
Bar.xml
<?xml version='1.0' encoding='UTF-8' ?><foo><bar>test</bar></foo>
Activity
Graeme Rocher
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 1.3.5 [ 16651 ] |
Burt Beckwith
made changes -
| Description |
Automatic parsing of a POST-request with XML (application/xml) content into a domain instance fails with Grails v1.3.4. parseRequest ist properly set in UrlMappings. I've attached two sample projects (v1.3.3 and v1.3.4) Try to do da POST request with: {code:title=Bar.xml| <?xml version='1.0' encoding='UTF-8' ?><foo><bar>test</bar></foo> {code} |
Automatic parsing of a POST-request with XML (application/xml) content into a domain instance fails with Grails v1.3.4. parseRequest ist properly set in UrlMappings. I've attached two sample projects (v1.3.3 and v1.3.4) Try to do da POST request with: {code:title=Bar.xml} <?xml version='1.0' encoding='UTF-8' ?><foo><bar>test</bar></foo> {code} |
Burt Beckwith
made changes -
| Assignee | Burt Beckwith [ burtbeckwith ] |
Burt Beckwith
made changes -
| Assignee | Burt Beckwith [ burtbeckwith ] | Peter Ledbrook [ pledbrook ] |
Peter Ledbrook
made changes -
| Fix Version/s | 1.2.4 [ 16555 ] |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Functional Tests | master | c5b560f... | 2010-09-02 05:28:24 -0700 | Peter Ledbrook / Peter Ledbrook | Functional tests for requests not happening. |
| Files Changed | |||||
|
MODIFY
apps/content-negotiation/grails-app/conf/UrlMappings.groovy
ADD apps/content-negotiation/grails-app/controllers/PostController.groovy ADD apps/content-negotiation/grails-app/domain/Post.groovy MODIFY apps/content-negotiation/test/functional/ContentNegotiationFunctionalTests.groovy ADD apps/content-negotiation/test/functional/ContentParsingFunctionalTests.groovy |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Functional Tests | 2.0.x | c5b560f... | 2010-09-02 05:28:24 -0700 | Peter Ledbrook / Peter Ledbrook | Functional tests for requests not happening. |
| Files Changed | |||||
|
MODIFY
apps/content-negotiation/grails-app/conf/UrlMappings.groovy
ADD apps/content-negotiation/grails-app/controllers/PostController.groovy ADD apps/content-negotiation/grails-app/domain/Post.groovy MODIFY apps/content-negotiation/test/functional/ContentNegotiationFunctionalTests.groovy ADD apps/content-negotiation/test/functional/ContentParsingFunctionalTests.groovy |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Functional Tests | 2.1.x | c5b560f... | 2010-09-02 05:28:24 -0700 | Peter Ledbrook / Peter Ledbrook | Functional tests for requests not happening. |
| Files Changed | |||||
|
MODIFY
apps/content-negotiation/grails-app/conf/UrlMappings.groovy
ADD apps/content-negotiation/grails-app/controllers/PostController.groovy ADD apps/content-negotiation/grails-app/domain/Post.groovy MODIFY apps/content-negotiation/test/functional/ContentNegotiationFunctionalTests.groovy ADD apps/content-negotiation/test/functional/ContentParsingFunctionalTests.groovy |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Functional Tests | 2.2.x | c5b560f... | 2010-09-02 05:28:24 -0700 | Peter Ledbrook / Peter Ledbrook | Functional tests for requests not happening. |
| Files Changed | |||||
|
MODIFY
apps/content-negotiation/grails-app/conf/UrlMappings.groovy
ADD apps/content-negotiation/grails-app/controllers/PostController.groovy ADD apps/content-negotiation/grails-app/domain/Post.groovy MODIFY apps/content-negotiation/test/functional/ContentNegotiationFunctionalTests.groovy ADD apps/content-negotiation/test/functional/ContentParsingFunctionalTests.groovy |
| Repository | Branch | Revision | Date | Author/Committer | Message |
| Grails Functional Tests | 1.2.x | b5033a2... | 2010-09-02 05:29:13 -0700 | Peter Ledbrook / Peter Ledbrook | Functional tests for requests not happening. |
| Files Changed | |||||
|
MODIFY
apps/content-negotiation/grails-app/conf/UrlMappings.groovy
ADD apps/content-negotiation/grails-app/controllers/PostController.groovy ADD apps/content-negotiation/grails-app/domain/Post.groovy MODIFY apps/content-negotiation/test/functional/ContentNegotiationFunctionalTests.groovy ADD apps/content-negotiation/test/functional/ContentParsingFunctionalTests.groovy |
Peter Ledbrook
made changes -
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Fixed [ 1 ] |
Graeme Rocher
made changes -
| Status | Resolved [ 5 ] | Closed [ 6 ] |
Contegix Support
made changes -
| Project Import | Thu Mar 24 21:22:24 CDT 2011 [ 1301019744151 ] |
Burt Beckwith
made changes -
| Workflow | jira [ 35063 ] | Grails [ 46878 ] |
Burt Beckwith
made changes -
| Workflow | Grails [ 46878 ] | Copy of Grails [ 54336 ] |
Burt Beckwith
made changes -
| Workflow | Copy of Grails [ 54336 ] | Grails [ 61746 ] |
Burt Beckwith
made changes -
| Workflow | Grails [ 61746 ] | Grails2 [ 69327 ] |
Burt Beckwith
made changes -
| Workflow | Grails2 [ 69327 ] | jira [ 76899 ] |
Burt Beckwith
made changes -
| Workflow | jira [ 76899 ] | Grails2 [ 85437 ] |
Peter Ledbrook
made changes -
| Workflow | Grails2 [ 85437 ] | jira [ 93835 ] |
Peter Ledbrook
made changes -
| Workflow | jira [ 93835 ] | Grails2 [ 101995 ] |
Any workaround?