Custom columns (Javascript/OGNL) operating on wrong element
Brought to you by:
acarmichael,
t_shelley
Custom columns for tasks do not work correctly when Javascript or OGNL is used. Instead of operating on the current element they work on a task pattern. For example "#element.getName()" (Javascript) results in "$Name$" whereas "/getName" (reflection) correctly returns the name of the current task.
The problems seems to be located in com.ivis.xprocess.ui/src/com/ivis/xprocess/ui/tables/columns/custom/CustomColumn.java where in the case of Javascript and OGNL "getTestElement()" is passed to the processor instead "realElement" as in the case of reflection.
Suggested fix in CustomColumn.patch.txt attached.
Patch containing suggested fix