Bug 124450 manually reorder report parameters will change their names
steps to reproduce: - create three report parameters, use their default parameter names - move the third one to the head of the list, its name changes from NewParameter2 to NewParameter21 expected behavior: - the list is reordered, and the name of report parameters remains intact. actual bahavior: - the list was reordered, but the name of report parameters changed.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/core/Module.java
public long getNextID( )
	{
		return elementIDCounter++;
	}
	/**
	 * Adds an element to the id-to-element map. Does nothing if IDs are not
	 * enabled. Should be called only from the
	 * {@link org.eclipse.birt.report.model.command.ContentCommand ContentCommand}.
	 * 
	 * @param element
	 *            The new element to add.
	 */
	public void addElementID( DesignElement element )
	{
		assert idMap != null;
		assert element.getID( ) > 0;
		Long idObj = new Long( element.getID( ) );
		assert !idMap.containsKey( idObj );
		idMap.put( idObj, element );
		
		long id = element.getID( );
		if ( this.elementIDCounter <= id )
		{
			this.elementIDCounter = id + 1;
		}
	}
	/**
	 * Drops an element from the id-to-element map. Does nothing if IDs are not
	 * enabled. Should be called only from the
	 * {@link org.eclipse.birt.report.model.command.ContentCommand ContentCommand}.