[ 
https://issues.apache.org/jira/browse/OFBIZ-5980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17440586#comment-17440586
 ] 

Jacques Le Roux commented on OFBIZ-5980:
----------------------------------------

Pierre,

As we can't deliver, even a not released but in demo, a broken trunk, I tried 
to revert.

Reverting the needed I'm at least able to create an order again. I'll stash 
that for the moment and have another look (after few today). I believe it's 
inextricable. I mean hard to tackle with 1 by  1 pushes. Several commits can be 
done in a PR. But we also saw that sometimes it's impossible to test before 
pushing. Because you need a patch to test before. So tackle the party role 
stuff is a difficult journey, on the edge of the razor.

I'll not revert from your recent work:
* Quote: Quote item quantity field not visable (OFBIZ 12357) (#326)

* Improved: seed data (OFBIZ-12355) (#328)
* Improved: seed data (OFBIZ-12353) (#324)

I have a doubt about the last ones. Could be the start of the new discussion 
(more an intution than a reflection for now)


> Have the ability to revoke (expire) roles of a party
> ----------------------------------------------------
>
>                 Key: OFBIZ-5980
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5980
>             Project: OFBiz
>          Issue Type: Bug
>          Components: party
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>            Assignee: Pierre Smits
>            Priority: Major
>              Labels: roles
>             Fix For: Upcoming Branch
>
>
> Currently it is only possible to delete a PartyRole record from a party.
> Which leads to error messages, when that particular Partyrole record is 
> associated with records in other entities where the PartyRole entity is set 
> as a relation (through <relation rel-entity-name="PartyRole"> which is 
> applied as a foreign key relation in the underlying dbms ).
> Examples of such related entities that are:
> * entity-name="MarketingCampaignRole"
> * entity-name="BudgetRole"
> In order to avoid such, it is better to revoke the PartyRole record by 
> setting an expiration date (end date) on the record.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to