[prev in list] [next in list] [prev in thread] [next in thread] 

List:       synapse-dev
Subject:    [jira] Reopened: (SYNAPSE-705) Fixing an issue in the script
From:       "Hiranya Jayathilaka (JIRA)" <jira () apache ! org>
Date:       2010-11-25 18:06:14
Message-ID: 24639565.315101290708374917.JavaMail.jira () thor
[Download RAW message or body]


     [ https://issues.apache.org/jira/browse/SYNAPSE-705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

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: https://issues.apache.org/jira/browse/SYNAPSE-705
> 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: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic