Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
2.4.3
-
None
-
Unknown
-
Description
When using the changes between documents where object properties have changed, we are neither showing the display value (for DBList or StaticList) neither using the translation for the property names or values.
With the following code in replacement of displayPropertyChange for the ObjectDiff we get the propert display:
#macro(displayObjectPropertyChange $diff $propertyName $propertyDisplay) <tr> <td>$newdoc.displayPrettyName($diff.propName)</td> <td> #set($ok = $origdoc.use($diff.className,$diff.getNumber())) $origdoc.display($diff.propName) </td> <td> #set($ok = $newdoc.use($diff.className,$diff.getNumber())) $newdoc.display($diff.propName) </td> </tr> #end