[POR-3031] Assign stable usage keys for pro parte usages Created: 10/Feb/16  Updated: 18/Jan/17  Resolved: 18/Jan/17

Status: Closed
Project: Portal
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Major
Reporter: Markus Döring Assignee: Markus Döring
Resolution: Fixed Votes: 0
Labels: nub
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: Improve Backbone Building February 2017

 Description   

A single pro parte synonym node from neo4j results in several name usage records in postgres after syncing with one extra usage per PROPARTE relationship in neo. The usage keys are attached to the relation, but the IdGenerator does always issue a new id for the extra pro parte usages.

Improve the IdGenerator to reissue existing pro parte keys



 Comments   
Comment by Markus Döring [ 18/Jan/17 ]

Lookup of existing pro parte keys implemented using the previous parentKey

Comment by Markus Döring [ 18/Jan/17 ]

https://github.com/gbif/checklistbank/commit/da4bcd65ac0b95793664fc4ec39638928e8ecefb

Generated at Tue Jul 25 04:39:02 CEST 2017 using JIRA 6.3.14#6345-sha1:47b2bb0a76c6e60bffb16fa45719b26a7e5e0c78.