Project: Birt
Bug 193245 Should block user to set content type property on the child element
Reported: 2007-06-18 23:36:45 | Status: resolved fixed

After we switch from the slot to content element type property, all the rules that we applied to the slot before should be applied to the content element type property. When an element is extended from the library element, it should not be allowed to change the child element structure. So, when user call setProperty() to set the value of the content element type property, Model should throw out exception.

Files changed in fix:
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/command/PropertyCommandTest.java model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/library/LibraryCompoundElementTest.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/PropertyCommand.java