Bug 142893 Text key not found when library and report use different resource files
The following scenario was tested with BIRT 2.1RC2: - New library, assign resource file "r1.properties" which contains key/value-pair "k1=v1" - New label in library, set text key of label to "k1" - New report, assign resource file "r2.properties" which does not contain key/value-pair "k1=v1" - Drag and drop label from library to report body - Preview Expected result: - Report shows "v1" Actual result: - Report shows nothing. If key/value-pair "k1=v1" is added to r2.properties, than "v1" is shown.
model/org.eclipse.birt.report.model/src/org/eclipse/birt/report/model/api/StructureHandle.java
* element.
	 * 
	 * @param element
	 *            handle to the report element.
	 * @param ref
	 *            reference to the structure
	 */
	public StructureHandle( DesignElementHandle element, MemberRef ref )
	{
		super( element );
		structRef = new CachedMemberRef( ref );
		if ( !structRef.checkOrCacheStructure( getModule( ), getElement( ) ) )
			throw new RuntimeException(
					"The structure is floating, and its handle is invalid!" ); 
	}
	/**
	 * Constructs a handle for a structure within a list property or a structure
	 * member.
	 * 
	 * @param valueHandle
	 *            handle to a list property or member
	 * @param index
	 *            index of the structure within the list
	 */
	public StructureHandle( SimpleValueHandle valueHandle, int index )
	{
		super( valueHandle.getElementHandle( ) );
		structRef = new CachedMemberRef( new CachedMemberRef( valueHandle
				.getReference( ), index ) );
		if ( !structRef.checkOrCacheStructure( getModule( ), getElement( ) ) )