Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Checkin: Fix M3 Bugzilla 116563 Element from library cannot appear after delete another same library

Title: Checkin: Fix M3 Bugzilla 116563 Element from library cannot appear after delete another same library

- Summary:
Model now avoid include the same library twice.

- SCR(s) Resolved: bugzilla 116563
- Description:
1) Exception will be throwed if the user include the same library for a second time.
2) Design parser will log an warning indicates that the design file has include the same library
over one time.
 
- Regression ( Yes/No ): No
- Code Owner: Shanghai Model Team
- Code Reviewers:  Shanghai Model Team
- Tests: Unit Test
- Test Automated (Yes/No, if "No", then explain why): Yes
- Case Entries Resolved:
- Notes to Developers:
- Notes to QA:
- Notes to Documentation:
- Notes to Configuration Management:
- Notes to Support:
- Notes to Product Marketing:

Affected files:
    /home/birt/source/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/DesignElement.java
    /home/birt/source/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/api/input/Library_3.xml
    /home/birt/source/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/api/input/ElementFactoryTest_1.xml

    /home/birt/source/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/library/input/LibraryToBeDrop_1.xml

    /home/birt/source/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/library/input/DesignWithSameLibraryFiles.xml

    /home/birt/source/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/parser/IncludeLibrariesStructureListState.java

    /home/birt/source/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/i18n/MessageConstants.java,v  <--  MessageConstants.java

    /home/birt/source/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/i18n/Messages.properties,v  <--  Messages.properties

    /home/birt/source/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/LibraryCommand.java,v  <--  LibraryCommand.java

    /home/birt/source/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/command/LibraryException.java,v  <--  LibraryException.java

    /home/birt/source/org.eclipse.birt.report.model/test/org/eclipse/birt/report/model/api/ElementFactoryTest.java,v  <--  ElementFactoryTest.java

Thanks,
Rock Yu

Actuate Software (Shanghai) Co., Ltd.        
1271,  South PuDong Road                                              
HuaRong Building Floor 21, Suite 2101          
PuDong New District, Shanghai 200122, PRC                
Tel: 86-21-58826388                                                       



Back to the top