Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev]CheckIn: Fix Bugzilla Bug 128936 --- InvalidJSExpr when copy a table and delete the bookmark setting in the paste table

Title: [birt-dev]CheckIn: Fix Bugzilla Bug 128936 --- InvalidJSExpr when copy a table and delete the bookmark setting in the paste table

Summary 
Do not create _expression_ while the input _expression_ string has a blank value.

Bugzilla Bug (s) Resolved:
Fix Bugzilla Bug 128936 --- InvalidJSExpr when copy a table and delete the bookmark setting in the paste table

Description:
Why:
The old code create a new _expression_ if the input _expression_ string is not null but has a blank value. This will cause exception like:

    Invalid _javascript_ _expression_: The _expression_ cannot be null or empty.

Fix:
Do not create _expression_ while the input _expression_ string has a blank value.
 
Test Description:
Unit Test, Manu Test
 
Files Edited:
/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/ir/TextItemDesign.java#15 edit
/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/parser/EngineIRVisitor.java#77 edit

Files Added:

Notes to Build Team:
 
Notes to Developers:

Notes to QA:
 
Quotes to Documentation:


-Wei Zhao




Back to the top