Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 930
    • Issues 930
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Development
  • Core
  • Issues
  • #451

Closed
Open
Opened Oct 17, 2018 by samuelsov@samuelsovDeveloper

False duplicate relationship

In our case, we use the description to define the job title so we want to have the history of the different job title over time. I see no reason why we couldn't have multiple inactive employer relationship with the same organisation and only one active at a time.

It's not possible to create 2 relationship of the same type with the same contacts even if the other one is disabled.

Message when creating a new SymbioTIC employer relationship on the contact (with an inactive relationship) : Screenshot_2018-10-17_-_duplicate

On the other hand, if we have a start and/or end date on the relationship, the checkDuplicateRelationship doesn't consider it to be a duplicate.

Same as above but with a start date on the inactive relationship. Screenshot_2018-10-17_-_no_duplicate

If we remove the start date from the inactive relationship, there is no warning so after all it's possible to do what we want but with some unnecessary steps.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: dev/core#451