Hi Hans,

That view already had a statusId from the PartyRelationship entity, this causes 
a warning on startup and also results in the PartyRelationship statusId field 
being thrown out of the view.

If any code was depending on statusId being from the PartyRelationship entity 
then it would now be broken.  I'd suggest renaming the alias to something like 
partyStatusId.

Thanks
Scott

HotWax Media
http://www.hotwaxmedia.com

On 19/07/2010, at 1:17 AM, hans...@apache.org wrote:

> Author: hansbak
> Date: Sun Jul 18 13:17:02 2010
> New Revision: 965225
> 
> URL: http://svn.apache.org/viewvc?rev=965225&view=rev
> Log:
> add statuisId field to view, be able to ignoe disabled parties
> 
> Modified:
>    ofbiz/trunk/applications/party/entitydef/entitymodel.xml
> 
> Modified: ofbiz/trunk/applications/party/entitydef/entitymodel.xml
> URL: 
> http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/entitydef/entitymodel.xml?rev=965225&r1=965224&r2=965225&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/party/entitydef/entitymodel.xml (original)
> +++ ofbiz/trunk/applications/party/entitydef/entitymodel.xml Sun Jul 18 
> 13:17:02 2010
> @@ -2344,6 +2344,7 @@ under the License.
>       <alias entity-alias="PTY" name="partyId"/>
>       <alias entity-alias="PTY" name="partyTypeId"/>
>       <alias entity-alias="PTY" name="description"/>
> +      <alias entity-alias="PTY" name="statusId"/>
>       <alias entity-alias="PER" name="firstName"/>
>       <alias entity-alias="PER" name="middleName"/>
>       <alias entity-alias="PER" name="lastName"/>
> 
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to