Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 311847

Summary: Birt engine logs warning every time.
Product: z_Archived Reporter: Kim Myoungki <zephyran>
Component: BIRTAssignee: Mingxia Wu <mwu>
Status: VERIFIED FIXED QA Contact: Tianli Zhang <tzhang>
Severity: minor    
Priority: P3 CC: mwu
Version: 2.5.1   
Target Milestone: 2.6.0 RC2   
Hardware: PC   
OS: Windows XP   
Whiteboard: Obsolete

Description Kim Myoungki CLA 2010-05-06 06:01:25 EDT
Build Identifier: M20100211-1343

I am using BIRT 2.5.2 v.20100208

Everything is fine but when the report is generated, BIRT shows a WARNING message like this.

06-May-2010 10:48:49 org.eclipse.birt.report.data.adapter.impl.ModelAdapter adaptDataSet
WARNING: handle type: org.eclipse.birt.report.model.api.ScriptDataSetHandle

I have already checked the source code and I found something is strange.

The adaptDataSet method in ModelAdapter.java always log with WARNING LEVEL. 

There is no return code or any exception throwing before logging, other methods in ModelAdapter.java do like that.
 
I think the logging level should be changed or the logging should be done when some specific situations.

Thanks,


Reproducible: Always

Steps to Reproduce:
1. Make a script data source
Comment 1 Mingxia Wu CLA 2010-05-13 07:35:50 EDT
Fix it now.
Comment 2 Tianli Zhang CLA 2010-05-25 01:36:06 EDT
Verified in 2.6.0.v20100525-0630