[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-7550) When map root of XML to csv-record, arrow points to self

Brian Fitzpatrick (JIRA) jira-events at lists.jboss.org
Wed Nov 10 15:22:04 EST 2010


When map root of XML to csv-record, arrow points to self
--------------------------------------------------------

                 Key: JBIDE-7550
                 URL: https://jira.jboss.org/browse/JBIDE-7550
             Project: Tools (JBoss Tools)
          Issue Type: Bug
          Components: smooks
    Affects Versions: 3.2.0.Beta2
            Reporter: Brian Fitzpatrick
            Assignee: Tom Fennelly
            Priority: Minor
             Fix For: 3.2.0.Beta2


While testing some of Tom's latest changes (which fixed a number of JIRAs), I found another weird mapping issue with the Apply Template task.

With the attached project, if you drag the root Books element from the XML to the csv-record element of the CSV, you end up with a strange arrow pointing back to itself. It's pretty easy to repeat. 

1. Create a new smooks configuration file.
2. Set it for an XML input and point it to the input.xml in the esbcontent folder.
3. Add an Apply Template task and select CSV - use the fields "title, author, status"
4. Map the book element to the csv-record. Map Author to author, Title to title, CheckedOut to status.
5. Everything should look great. Save it.
6. Now drag the root "Books" onto the "csv-record" element and you should see the arrow issue.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list