What is going wrong?
There is a problem when you try to create a user party and link it to a party with an end date in the past. Then the current workflow creates a startdate from now() and a check enddata > startdate fails. The party will not be created successfully.
Our scenario is that a user wants to link a project to a former project phase that is already over. But the user was related to this project and wants to upload data from that phase.
code is here:
|
partyManager.AddPartyRelationship(party, TargetParty, partyRelationship.Title, partyRelationship.Description, partyTypePair, DateTime.Now, TargetParty.EndDate, partyRelationship.Scope); |
How is it supposed to work?
no error should happen.
We need to decide what should happen in that case.
What is going wrong?
There is a problem when you try to create a user party and link it to a party with an end date in the past. Then the current workflow creates a startdate from now() and a check enddata > startdate fails. The party will not be created successfully.
Our scenario is that a user wants to link a project to a former project phase that is already over. But the user was related to this project and wants to upload data from that phase.
code is here:
Core/Console/BExIS.Web.Shell/Areas/BAM/Controllers/PartyServiceController.cs
Line 74 in 38f3cbc
How is it supposed to work?
no error should happen.
We need to decide what should happen in that case.