Summary:
Fix 136241 -- revise the clone() method in Module to
update the template element references.
- Bugzilla Bug (s) Resolved: 136241
- Description:
1. Revise clone() method in Module to update the cloned
template elements to refer the definitions
in the cloned module.
2. Revise the writer to output the template parameter
definitions no matter what the clients exist or not.
- Tests Description:
Unit test/Manual test
- Notes to Build Team: None
- Notes to Developers: None
- Notes to QA: None
- Notes to Documentation: None
- Files Added:
- Files Edited:
Checking in
src/org/eclipse/birt/report/model/core/DesignElement.java;
Checking in src/org/eclipse/birt/report/model/core/Module.java;
Checking in src/org/eclipse/birt/report/model/command/TemplateCommand.java;
Checking in src/org/eclipse/birt/report/model/command/ContentCommand.java;
Checking in test/org/eclipse/birt/report/model/writer/DocumentUtilTest.java;
Checking in
test/org/eclipse/birt/report/model/writer/golden/DesignWriterTest_golden.xml;
Checking in
test/org/eclipse/birt/report/model/writer/golden/DocumentUtilTest_golden_2.xml;
Checking in test/org/eclipse/birt/report/model/writer/golden/DocumentUtilTest_golden.xml;
Checking in
test/org/eclipse/birt/report/model/writer/golden/DocumentUtilTest_golden_3.xml;
Checking in
test/org/eclipse/birt/report/model/writer/golden/DocumentUtilTest_golden_1.xml;
Checking in
test/org/eclipse/birt/report/model/writer/golden/DesignWriterTest_UTF8BOM_golden.xml;
Checking in
test/org/eclipse/birt/report/model/writer/golden/testWriter_golden.xml;
Checking in src/org/eclipse/birt/report/model/writer/ModuleWriter.java;
Checking in
test/org/eclipse/birt/report/model/writer/input/TemplateElementParserTest.xml;