Skip to content

User Party: Creation not possible when relation has an old end date #2422

@aostrow

Description

@aostrow

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions