agent-merging: Add to the audit log
#5726
Replies: 6 comments
-
|
Can someone test a few things related to this? Based on what we see, we should consider adding a new type of entry to the audit log - a record merge action (in addition to the tree merge we already have in there) |
Beta Was this translation helpful? Give feedback.
-
|
After merging 2 agents, changes to the remaining agent's fields are displayed as updates in the audit log. Not sure if it's a bug, but changes to the GUID field don't seem to appear in the audit log. To-be-merged agents: Merged record: Audit log of remaining agent after merge (last three rows are from a previous merge): Audit log of determinations (no determiner records in this database) associated with merged agent is empty and are now associated with the agentid of the first agent: Likewise with accession agent record: And with collector records (Applies to collector records associated with either of the records before merging): Merging agents with addresses: Merged record: Audit log (does not seem to register updates to address; also tried merging the addresses themselves as well): Anything you would like to see or want me to clarify? |
Beta Was this translation helpful? Give feedback.
-
|
Looks like back end does not allow front-end to update GUIDs, which is why it is not in the audit log: specify7/specifyweb/specify/api.py Line 357 in 7b9bc5c @grantfitzsimmons should we add a way for front-end to update guid so that people can merge it? or should we just hide it from the agent merging screen? Agent GUIDs are not crucial at the moment, but GUIDs for other tables can be more important (i.e, Collection Object once merging tool can support them) |
Beta Was this translation helpful? Give feedback.
-
|
@acwhite211 can you add a new audit log action type that denotes a record merge and create an entry with that type when doing the merge? |
Beta Was this translation helpful? Give feedback.
-
At the moment I have never heard of someone using the GUID field for Agents, but in the future merging localities, taxon records, etc. it will be essential to support updating GUIDs on the front-end as you said. We can hide GUID for this release and expand it in the future? |
Beta Was this translation helpful? Give feedback.
-
|
@acwhite211 can you please look into fixing this before initial agent merging release? It should be a simple feature to add. |
Beta Was this translation helpful? Give feedback.








Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions