Project: Birt
Bug 283973 The expression value is not saved into report xml file correctly.
Reported: 2009-07-20 02:40:53 | Status: verified fixed

If use UserPropertyDefn "setDefault" method and pass an expression to this method, the value is not saved into report xml file correctly. <list-property name="userProperties"> <structure> <property name="name">Test</property> <property name="type">expression</property> <property name="isVisible">true</property> <property name="default">Test</property> </structure> </list-property>

Files changed in fix:
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/APICompatibleTest.java model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/parser/UserPropertyTest.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/core/UserPropertyDefn.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/UserPropertyStructureState.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/writer/ModuleWriter.java