OSWorkflow interpolates strings provided as function arguments

Description

*This issue has moved*

This issue has been moved permanently to Adaptavist's Product Support JIRA instance.

All existing users of this instance should have the same username on our Product Support instance. However, you will very likely need to click on the
Can't access your account link in order to reset to a new password.

So, if you have a groovy script, it will attempt to expand things like $issue. If it can't find the thing to expand it throws. Also the script arrives at groovy already mangled.

Culprit is com.opensymphony.workflow.util.DefaultVariableResolver.translateVariables.

Can't see any way of disabling it, should be possible to defeat it using base64 encoding or something, although then we will need to "upgrade" existing scripts.

Environment

None

Activity

Show:
Jamie Echlin
July 22, 2011, 1:07 AM

Workaround is, instead of using:

use

Assignee

Jamie Echlin

Reporter

Jamie Echlin

Labels

None

Internal Complexity

Unknown

Internal Value

Unknown

Affects versions

Priority

Major
Configure