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-6131

Defect in TemplateParser when using a Groovy Expression containing pipes

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

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 3.1.2, 3.2.1
  • Fix Version/s: 3.1.4 (EE only), 3.2.3 (EE only), 3.3.1
  • Component/s: Core: Expressions
  • Labels:
    None
  • User impact:
    Medium
  • Configuration:
    Hide

    <flow name="flow3">
    <http:inbound-endpoint address="http://localhost:9003/test" />
    <logger level="INFO" message="#[groovy: 'Hello|Hi']"/>
    </flow>

    Show
    <flow name="flow3"> <http:inbound-endpoint address="http://localhost:9003/test" /> <logger level="INFO" message="#[groovy: 'Hello|Hi']"/> </flow>
  • Similar Issues:
    None

Description

When the logger expression contains a pipe (|) in a Groovy evaluator it fails, logging the content of the expression twice.

Steps to reproduce:
1. Create a Mule application with the attached configuration
2. Call the inbound endpoint
3. Look at the logs, it should log the expression twice: INFO (LoggerMessageProcessor.java:100) -Hello|Hi|Hello|Hi

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
Hide
Permalink
Pablo Kraan added a comment - 08/Jun/12 08:33 AM

Fix 3.1.x
http://fisheye.codehaus.org/changelog/mule/?cs=24533

Fix 3.2.x
http://fisheye.codehaus.org/changelog/mule/?cs=24534

Fix 3.3.x
http://fisheye.codehaus.org/changelog/mule/?cs=24535

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

Show
Pablo Kraan added a comment - 08/Jun/12 08:33 AM Fix 3.1.x http://fisheye.codehaus.org/changelog/mule/?cs=24533 Fix 3.2.x http://fisheye.codehaus.org/changelog/mule/?cs=24534 Fix 3.3.x http://fisheye.codehaus.org/changelog/mule/?cs=24535 Fix 3.x http://fisheye.codehaus.org/changelog/mule/?cs=24536

People

  • Assignee:
    Pablo Kraan
    Reporter:
    Sebastian Beltramini
Vote (1)
Watch (1)

Dates

  • Created:
    15/Mar/12 07:06 PM
    Updated:
    08/Jun/12 08:34 AM
    Resolved:
    08/Jun/12 08:34 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.