Project: Birt
Bug 186940 Style name in theme cannot be identify by auto when reopen the library[01]
Reported: 2007-05-15 02:39:45 | Status: closed fixed

Description: Style name in theme cannot be identify by auto when reopen the library[01] Step: 1.Open a library and add a theme 2.New a style on the theme and use the default name that is "NewStyle" 3.Save the library, close it and reopen it again. 4.New another style on the same theme Actual result: The default style name on second times is also "NewStyle" Exception result: The default style name on second times is "NewStyle1"

Files changed in fix:
model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/ElementFactoryTest.java model/org.eclipse.birt.report.model.tests/test/org/eclipse/birt/report/model/api/GroupElementHandleTest.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/ElementFactory.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/NameCommand.java model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/elements/Theme.java