Re: svn commit: r965225 - /ofbiz/trunk/applications/party/entitydef/entitymodel.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r965225 - /ofbiz/trunk/applications/party/entitydef/entitymodel.xml

Scott Gray-2
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, [hidden email] 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"/>
>
>


smime.p7s (3K) Download Attachment