Subversion Repository Public Repository

litesoft

Diff Revisions 850 vs 851 for /trunk/Java/PoVoGenerator/Generator/src/org/litesoft/generator/AbstractVOFileGenerator.java

Diff revisions: vs.
  @@ -238,7 +238,7 @@
238 238 mErrorSinc.addError( "DeriveAttributeFailure", "with path: " + pDerivedFromAttributePath, zDerivedFromObject.toStringForError(), pAttribute.toString(), mObjectMetaData.toStringForError() );
239 239 }
240 240 // create a Fake One so no other code fails (in theory as it is not wired into anything)!
241 - return new AttributeMetaDataSimple( new UiRUpSet( 0, A_String.TYPE, new ASet(), new ASet() ), Mode.New, false, false, PropertyMetaData.EMPTY_ARRAY, null, pDerivedFromAttributePath );
241 + return new AttributeMetaDataSimple( new UiRUpSet( new AttributeSetBuilder(A_String.TYPE).persisted().virtual() ), Mode.New, false, false, PropertyMetaData.EMPTY_ARRAY, null, pDerivedFromAttributePath );
242 242 }
243 243
244 244 private MinimalAttributeMetaData getDerivedAttribute( ObjectMetaData pObjectMetaData, String[] pAttrNames )