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
{
			closeDataSource( ds );
		}
		logger.exiting( DataEngineImpl.class.getName( ), "closeDataSource" );
	}
	
	private static void closeDataSource( DataSourceRuntime ds )
			throws DataException
	{
		assert ds != null;
		if ( ds.isOpen( ) )
		{
			ds.beforeClose( );
			ds.closeOdiDataSource( );
			ds.afterClose( );
		}
	}
	/**
	 * Gets the shared Rhino scope used by this data engine
	 */
	public Scriptable getSharedScope( )
	{
		return sharedScope;
	}
	/**
	 * Gets the expression compiler used by this data engine
	 */
	ExpressionCompiler getExpressionCompiler( )
	{
		return compiler;