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
{
			IllegalArgumentException e=new IllegalArgumentException( "Data source has no name" );
			logger.logp( Level.WARNING,
					DataEngineImpl.class.getName( ),
					"defineDataSet",
					"Data source has no name",
					e );
			throw e; 
		}
		if ( logger.isLoggable( Level.FINE ) )
			logger.logp( Level.FINE,
					DataEngineImpl.class.getName( ),
					"defineDataSet",
					"DataEngine.defineDataSet: "
							+ LogUtil.toString( dataSet ) );
		
		
		String dataSourceName = dataSet.getDataSourceName( );
		DataSourceRuntime dsource = this.getDataSourceRuntime( dataSourceName );
		if ( dsource == null )
		{
			DataException e = new DataException( ResourceConstants.UNDEFINED_DATA_SOURCE,
					dataSourceName );
			logger.logp( Level.WARNING,
					DataEngineImpl.class.getName( ),
					"defineDataSet",
					"Data source {"	+ dataSourceName + "} is not defined",
					e );
			throw e;
		}