Hi David, Scott,

I have commited a related work at r893961
Jacques

From: "Scott Gray" <scott.g...@hotwaxmedia.com>
On 18/12/2009, at 12:42 PM, David E Jones wrote:


On Dec 17, 2009, at 5:34 PM, Scott Gray wrote:

On 18/12/2009, at 12:15 PM, David E Jones wrote:


Basically it means that the from party is not in the role that you've specified.

The original idea with party roles in OFBiz was to not accidentally add parties to roles when a party in a role is referred to somewhere.

I've thought a few times that maybe it's not the best idea to do so, and instead whenever a party is implied to be in a role if they are not already then they should be added automatically.

If we did that (which I'm in favor of), what purpose would the PartyRole entity continue to serve?

That's a good question. It would still keep track of which party is in which role... but really that information shouldn't be used alone, ie it should only be used in the context of defining a party's relationship with something else.

That's exactly my concern, I often worry that developers misunderstand the purpose of the PartyRole entity and that its existence may cause more harm than good.

Regards
Scott

Reply via email to