Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] CheckIn:Fix a bug when updating CachedMataData in dataset tree viewer

Title: CheckIn:Fix a bug when updating CachedMataData in dataset tree viewer

- Summary:
Fix a bug when updating cachedMetaData in dataset tree viewer

- Bugzilla Bug (s) Resolved:
None

- Description:
This bug occurred when there is no cached MetaData in datasethandle. When user expanded the dataset node in data view, the tree will add an extra dummy treeItem. This is because when we call getChildren() to do the expanding thing , it will retrieve the cachedMetaData then update the datasetHandles cachedMetaData property, which will cause the refresh operation in treeViewer. Meanwhile, the getChildren() will be called again to do the refresh operation. So it is not correct because it caused a loop call and brought the error display of the dataset node. Fixed it in source

- Tests Description:
UI Feature

- Notes to Build Team:

- Notes to Developers:

- Notes to QA:  

- Notes to Documentation:  

- Files Edited:
/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/views/data/providers/DataSetNodeProvider.java
/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/data/ui/dataset/DefaultDataSetWizard.java
/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/data/ui/dataset/DataSetBasePage.java

- Files Added:

- Files Deleted


Back to the top