summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxwu2011-12-29 01:14:49 (EST)
committer lzhu2011-12-29 01:14:49 (EST)
commit13b1f15d553b629215fb5555a92b507ac2bd2a38 (patch)
treee690f7b921a4992d3bc1dd9604172a414eb2308e
parent8865d9eb224f5b491433f41900ae493566be2ece (diff)
downloadorg.eclipse.birt-13b1f15d553b629215fb5555a92b507ac2bd2a38.zip
org.eclipse.birt-13b1f15d553b629215fb5555a92b507ac2bd2a38.tar.gz
org.eclipse.birt-13b1f15d553b629215fb5555a92b507ac2bd2a38.tar.bz2
- Summary:
Fix ted issue 46281 Error occurs when editing a flat file data set. - Bug (s) Resolved: 46281 Description:. Fix the bug of incorrect setting the property bindings to the data set. - Code Reviewer: - Tests Description: - Files Edited: /org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetMetaDataHelper.java - Files Added: - Files Deleted: - Notes to Build Team: N/A - Notes to Developers: N/A - Notes to QA: N/A - Notes to Documentation
-rw-r--r--data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetMetaDataHelper.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetMetaDataHelper.java b/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetMetaDataHelper.java
index 447992c..61eb3d0 100644
--- a/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetMetaDataHelper.java
+++ b/data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataSetMetaDataHelper.java
@@ -681,8 +681,7 @@ public class DataSetMetaDataHelper
for ( int i = 0; i < pList.size( ); i++ )
{
PropertyBinding binding = (PropertyBinding) pList.get( i );
- dsHandle.getDataSource( )
- .setPropertyBinding( binding.getName( ),
+ dsHandle.setPropertyBinding( binding.getName( ),
binding.getExpressionProperty( PropertyBinding.VALUE_MEMBER ) );
}
}