synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hiranya Jayathilaka (JIRA)" <>
Subject [jira] Reopened: (SYNAPSE-705) Fixing an issue in the script mediator
Date Thu, 25 Nov 2010 18:06:14 GMT


Hiranya Jayathilaka reopened SYNAPSE-705:

The patch doesn't solve the problem entirely. Look at the import introduced to the ScriptMessageContext:

import org.mozilla.javascript.xml.XMLObject;

Clearly this is JavaScript specific. We cannot introduce language specific code into ScriptMessageContext
or ScriptMediator. We need to fix this the proper way.

> Fixing an issue in the script mediator
> --------------------------------------
>                 Key: SYNAPSE-705
>                 URL:
>             Project: Synapse
>          Issue Type: Bug
>          Components: Script mediator
>    Affects Versions: NIGHTLY
>         Environment: Ubuntu 10.10,
> JDK 1.6
>            Reporter: Heshan Suriyaarachchi
>             Fix For: FUTURE
>         Attachments: SYNAPSE-705.patch
> When using makefault mediator to generate custom error messages, we can populate the
<details/> element with an xpath expression. When we set a property String in the script
and retrieve later in the  configuration, this works perfectly. But if you set an XML object
to the property and later retrieve it and populate the <details/> element, the XML within
the <details/> element would not display properly. 
> I would add a sample configuration to prove my point. I am currently working on a fix
for this. Once I am done with the fix will attach it to the jira.
> Regards,
> Heshan. 

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message