Bug 123545 DateTimeSpan not working properly in Edit Data Set
i cannot use the following script in Edit Data Set, DateTimeSpan.addDate(row["SHIPPEDDATE"], 0, 0, 10) seps to reproduce: - open the attached report design - go to Data Explorer - open Edit Data Set - Preview Results expected behavior: - the above script is executed. actual behavior: - errors were thrown.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/DataEngineImpl.java
Class dSourceClass;
		if ( dataSet instanceof IOdaDataSetDesign )
			dSourceClass = IOdaDataSourceDesign.class;
		else if ( dataSet instanceof IScriptDataSetDesign )
			dSourceClass = IScriptDataSourceDesign.class;
		else
		{
			DataException e = new DataException( ResourceConstants.UNSUPPORTED_DATASET_TYPE );
			logger.logp( Level.WARNING,
					DataEngineImpl.class.getName( ),
					"defineDataSet",
					"Unsupported data set type: " + dataSet.getName( ),
					e );
			throw e;
		}
		if ( !dSourceClass.isInstance( dsource.getDesign( ) ) )
		{
			DataException e = new DataException( ResourceConstants.UNSUPPORTED_DATASOURCE_TYPE,
					dsource.getName() );
			logger.logp( Level.WARNING,
					DataEngineImpl.class.getName( ),
					"defineDataSet",
					"Unsupported data source type: " + dsource.getName( ),
					e );
			throw e;
		}
		dataSetDesigns.put( name, dataSet );
		logger.exiting( DataEngineImpl.class.getName( ), "defineDataSet" );
	}
	/*