Project

General

Profile

Actions

bug #7538

open

Concurrent editing transaction strategy: Taxon turned into synonym by other user prior to saving taxon which was modified in editor

Added by Andreas Kohlbecker almost 6 years ago. Updated over 5 years ago.

Status:
New
Priority:
Highest
Category:
cdmlib
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Severity:
critical
Found in Version:

Description

** Originally reported as:**

Liebes Edit-Team,

Manchmal erscheint dieser Fehler, wenn man nach Eingabe der Type Designations und der Referenz speichern möchte. Nach schließen des Fensters für das entsprechende Taxon geht zwar alles wieder, aber ich dachte, ich mache trotzdem mal Meldung.

Herzlichen Gruß

Johanna

login : j.bellack

editor version : 5.1.2

server : api.cybertaxonomy.org (cybertaxonomy.org) / caryophyllales_spp

schema version : 5.0.0.0.20180514

os : Windows 7 6.1 amd64

java : 1.8.0_171

org.eclipse.e4.core.di.InjectionException: org.hibernate.ObjectNotFoundException: No row with the given identifier exists: [eu.etaxonomy.cdm.model.taxon.TaxonNode#19650]
...

Analysis of the Problem:

Hallo Johanna,

Das Taxon für dessen Namen du die TypeDesignation bearbeitet hattest, wurden anscheinend von einem anderen User gelöscht bevor du deine Änderungen gespeichert hast.
Wenn meine Analyse richtig ist handelt es sich um Iresine frutescens Moq.. Nach den Tabellen in denen die Historie der Daten gespeichert wird, sieht es so aus, als ob Walter am 2018-07-09 11:59:41 das zu diesem Namen gehörende Taxon in ein Synonym umgewandelt und damit den Taxon-Knoten in der Klassifikation gelöscht hat.

Solche Konflikte werden im CDM leider noch nicht derart abgefangen, so dass dem User ein erklärender Hinweis angezeigt wird.

Das ist ein wirklich anschauliches Beispiel für die fehlende Funktionalität. Ich lege gleich noch ein Ticket dafür an, in dem ich weitere, technische Information verewigen werde.

Viele Grüße
Andreas K.

Further details:

According to the auditing tables the TaxonNode was deleted as

[TaxonNode_AUD]:

19650   53646   0   2018-07-05 01:48:02 eb614dc2-95bd-4acf-aa29-344282da8c64    2018-07-05 01:48:10 0               10  397 20124       35059   #t10#1986#12#397#19650# 26  0   0
19650   53656   1   2018-07-05 01:48:02 eb614dc2-95bd-4acf-aa29-344282da8c64    2018-07-05 01:48:21 0               10  397 20124       35059   #t10#1986#12#397#19650# 27  0   0
19650   53663   1   2018-07-05 01:48:02 eb614dc2-95bd-4acf-aa29-344282da8c64    2018-07-05 07:11:17 0               10  397 20124       35059   #t10#1986#12#397#19650# 28  0   0
19650   53669   1   2018-07-05 01:48:02 eb614dc2-95bd-4acf-aa29-344282da8c64    2018-07-05 07:33:27 0               10  397 20124       35059   #t10#1986#12#397#19650# 29  0   0
19650   53672   1   2018-07-05 01:48:02 eb614dc2-95bd-4acf-aa29-344282da8c64    2018-07-05 07:53:18 0               10  397 20124       35059   #t10#1986#12#397#19650# 30  0   0
19650   53673   1   2018-07-05 01:48:02 eb614dc2-95bd-4acf-aa29-344282da8c64    2018-07-05 07:59:47 0               10  397 20124       35059   #t10#1986#12#397#19650# 31  0   0
19650   53677   1   2018-07-05 01:48:02 eb614dc2-95bd-4acf-aa29-344282da8c64    2018-07-05 08:26:04 0               10  397 20124       35059   #t10#1986#12#397#19650# 32  0   0
19650   53678   1   2018-07-05 01:48:02 eb614dc2-95bd-4acf-aa29-344282da8c64    2018-07-05 08:45:13 0               10  397 20124       35059   #t10#1986#12#397#19650# 33  0   0
19650   53684   1   2018-07-05 01:48:02 eb614dc2-95bd-4acf-aa29-344282da8c64    2018-07-05 08:47:02 0               10  397 20124       35059   #t10#1986#12#397#19650# 34  0   0
19650   53686   1   2018-07-05 01:48:02 eb614dc2-95bd-4acf-aa29-344282da8c64    2018-07-05 08:55:47 0               10  397 20124       35059   #t10#1986#12#397#19650# 35  0   0
19650   53793   1   2018-07-05 01:48:02 eb614dc2-95bd-4acf-aa29-344282da8c64    2018-07-05 09:02:09 0               10  397 20124       35059   #t10#1986#12#397#19650# 34  0   0
19650   53797   1   2018-07-05 01:48:02 eb614dc2-95bd-4acf-aa29-344282da8c64    2018-07-06 12:26:07 0           50  10  397 20124       35059   #t10#1986#12#397#19650# 33  0   0
19650   54042   2                                                                                                   

The TaxonNode was referring to the TaxonBase 35059.

This has been deleted

[TaxonbBase_AUD]:

Taxon   35059   53626   0   2018-07-05 01:26:43 b77a4dbb-eccf-44f1-b061-6267873e85e5                            0   Iresine frutescens Moq. sec. WFO-Import Amara-Cheno-Polyg-Dianthus June 2018        0   0           33369   20124   0   1                   
Taxon   35059   53646   1   2018-07-05 01:26:43 b77a4dbb-eccf-44f1-b061-6267873e85e5                            0   Iresine frutescens Moq. sec. WFO-Import Amara-Cheno-Polyg-Dianthus June 2018        0   0           33369   20124   0   1                   
Taxon   35059   54042   2                                                                                                                                                                       

and was transformed into a Synonym.

[TaxonbBase]:

Synonym 38762   2018-07-09 11:59:41 2e3e8e56-080e-4721-a5bd-0cf3ab1dcb85    2018-07-09 11:59:42                     0   Iresine frutescens Moq. syn. sec. WFO-Import Amara-Cheno-Polyg-Dianthus June 2018       0   0       50  50  33369   20124   1               870 33984

The user id 50 references Walter


NOTE: A general problem or caveat of the data in the audit tables are lacking a timestamp of the operation and of the user which was responsible. => [by AM]: timestamp is available when joining with AuditEvent table, for responsible user a new ticket has been created: #7604


Related issues

Copied to EDIT - feature request #7604: Add user to AuditEventNewAndreas Müller

Actions
Actions

Also available in: Atom PDF