Project

General

Profile

Actions

feature request #7658

closed

use new taxon relationship DTO webservice in portal

Added by Andreas Kohlbecker about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Highest
Category:
cdm-dataportal
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal

Description

for details see #6682

Example taxa:

  • Chichorieae: Pilosella acutifolia coll.
  • Cihochorieae: Hieracium dermophyllum

New test data copied from
Nepenthes abalata in the integrationtest reference database

http://int.e-taxonomy.eu/dataportal/integration/reference/cdm_dataportal/taxon/9b588d8a-c4fa-430a-b9c7-026bf715ecf6/synonymy?destination=cdm_dataportal/taxon/9b588d8a-c4fa-430a-b9c7-026bf715ecf6/synonymy

Still to discuss: how to handle misapplied name deduplication (1 line per same name/rel.sec. but for different sensu/appended phrases, the later need to be concatenated with "," as separator. This can either be handled on server or client side (discussion).


Files

picture970-1.png (17.8 KB) picture970-1.png Andreas Müller, 09/06/2018 02:44 PM
picture970-2.png (41 KB) picture970-2.png Andreas Müller, 09/06/2018 02:44 PM
picture38-1.png (7.79 KB) picture38-1.png Andreas Müller, 09/06/2018 03:27 PM
picture944-1.png (3.35 KB) picture944-1.png Andreas Müller, 09/06/2018 03:45 PM
picture400-1.png (8.17 KB) picture400-1.png Andreas Müller, 09/12/2018 12:32 PM
picture979-1.png (24.4 KB) picture979-1.png Andreas Müller, 09/16/2018 05:40 PM

Related issues

Related to EDIT - bug #6652: [Discuss] misapplied names: hide protologue icon NewAndreas Müller

Actions
Related to EDIT - bug #5676: Sensu does not show up if no author exists for secundum referenceClosedAndreas Kohlbecker

Actions
Related to EDIT - feature request #7666: Remaining issues for "Formatter and DTO for taxon relationships (e.g. misapplied names)"In ProgressAndreas Müller

Actions
Related to EDIT - feature request #5232: use TaxonBase.getTaggedTitle to get the sec reference in theme_cdm_taxonRelationships()Rejected

Actions
Related to EDIT - feature request #5647: Aggregate misapplied names with multiple sensu referencesClosedAndreas Kohlbecker

Actions
Related to EDIT - feature request #6681: Correct formatting for misapplied names in name editorClosedKatja Luther

Actions
Related to EDIT - feature request #7753: use TaxonRelationshipFormatter for MAN and pro parte synonyms in name editorClosedKatja Luther

Actions
Follows EDIT - feature request #6682: Formatter and DTO for taxon relationships (e.g. misapplied names)ClosedAndreas Müller

Actions
Copied to EDIT - feature request #7720: use new taxonRelationshipsDTO webservice for all taxon relations ClosedAndreas Kohlbecker

Actions
Copied to EDIT - bug #7766: Remaining issues for using relationship DTO webservice in portal ClosedAndreas Kohlbecker

Actions
Actions #1

Updated by Andreas Kohlbecker about 6 years ago

  • Copied from feature request #6682: Formatter and DTO for taxon relationships (e.g. misapplied names) added
Actions #2

Updated by Andreas Kohlbecker about 6 years ago

  • Tags changed from euro+med to euro+med, caryophyllales
Actions #3

Updated by Andreas Kohlbecker about 6 years ago

  • Description updated (diff)
Actions #4

Updated by Andreas Müller about 6 years ago

  • Related to bug #6652: [Discuss] misapplied names: hide protologue icon added
Actions #5

Updated by Andreas Müller about 6 years ago

  • Related to bug #5676: Sensu does not show up if no author exists for secundum reference added
Actions #6

Updated by Andreas Kohlbecker about 6 years ago

  • Target version changed from Release 5.2 to Release 5.3
Actions #7

Updated by Andreas Müller about 6 years ago

  • Related to feature request #7666: Remaining issues for "Formatter and DTO for taxon relationships (e.g. misapplied names)" added
Actions #8

Updated by Andreas Müller about 6 years ago

  • Description updated (diff)
Actions #9

Updated by Andreas Müller about 6 years ago

  • Copied from deleted (feature request #6682: Formatter and DTO for taxon relationships (e.g. misapplied names))
Actions #10

Updated by Andreas Müller about 6 years ago

  • Due date set to 06/01/2017
  • Start date changed from 05/31/2017 to 06/01/2017
  • Follows feature request #6682: Formatter and DTO for taxon relationships (e.g. misapplied names) added
Actions #11

Updated by Andreas Müller about 6 years ago

  • Due date deleted (06/01/2017)
Actions #12

Updated by Andreas Kohlbecker almost 6 years ago

  • Description updated (diff)
Actions #13

Updated by Andreas Kohlbecker almost 6 years ago

  • Copied to feature request #7720: use new taxonRelationshipsDTO webservice for all taxon relations added
Actions #14

Updated by Andreas Kohlbecker almost 6 years ago

  • Status changed from In Progress to Resolved
  • Assignee changed from Andreas Kohlbecker to Andreas Müller
  • % Done changed from 0 to 60

implementation complete, please review

Actions #15

Updated by Andreas Müller almost 6 years ago

  • Related to feature request #5232: use TaxonBase.getTaggedTitle to get the sec reference in theme_cdm_taxonRelationships() added
Actions #16

Updated by Andreas Müller almost 6 years ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Andreas Kohlbecker

Does not yet work for pro parte and partial MANs.

Actions #17

Updated by Andreas Müller almost 6 years ago

Exception for second MAN of Achillea santolinoides Lag.

for this data on test.cyprus

Actions #18

Updated by Andreas Müller almost 6 years ago

But it works when adding an explicit sensu reference. But explicit sensu is not a requirement.

Actions #19

Updated by Andreas Müller almost 6 years ago

Strange, with this entry:

the webservice even does not return a second entry though it exists. Need to check why.

Actions #20

Updated by Andreas Müller almost 6 years ago

Andreas Müller wrote:

Strange, with this entry:

the webservice even does not return a second entry though it exists. Need to check why.

ohh, sorry, it was on unpublish (so unpublish works !! ;-)

Actions #21

Updated by Andreas Müller almost 6 years ago

Deduplication must NOT take place if the rel. sec. differs (e.g. only one of the MANs has a rel. sec.). This is not yet correctly implemented.
Also everything else needs to be equal except for MAN.sec and MAN.secDetail. E.g. if the doubtful flag differs either for the MAN taxon or for relation also no deduplication should take place (as it is no duplicate).
Also the relationship type needs to be equal (once pro parte and partial works).

Actions #22

Updated by Andreas Müller almost 6 years ago

& handling does not yet work correctly in teams. Probably a formatter issue #7666.

Actions #24

Updated by Andreas Müller almost 6 years ago

Andreas Müller wrote:

& handling does not yet work correctly in teams. Probably a formatter issue #7666.

This was a formatter problem (#7666) which was fixed by cdmlib|c331fa7e

Actions #25

Updated by Andreas Müller almost 6 years ago

Actions #26

Updated by Andreas Kohlbecker almost 6 years ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Andreas Kohlbecker to Andreas Müller
  • % Done changed from 60 to 70

finally fully solved, please review

Actions #27

Updated by Andreas Müller almost 6 years ago

Actions #28

Updated by Andreas Müller almost 6 years ago

  • Related to feature request #7753: use TaxonRelationshipFormatter for MAN and pro parte synonyms in name editor added
Actions #29

Updated by Andreas Müller almost 6 years ago

Deduplication still does not work if everything is similar except for sensu and sensu detail. In the following screeshot the 2nd and 3rd entry should be deduplicated:

Actions #30

Updated by Andreas Müller almost 6 years ago

I tested the above behavior. The reason is that secDetail differs (or misses in one case). secDetail is part of the secSource and may be different.

Actions #31

Updated by Andreas Müller almost 6 years ago

The MANs are still unsorted. In the above example you can see that Achillea santolina sensu Chrtek ... is before Achillea santolina sensu Baumel but shouldn't.

As far as I know Katja implemented a Comparator for same issue in TaxEditor. If possible we should try to reuse it. But may be this is not possible because of the deduplications that do not exist in TaxEditor.

Actions #32

Updated by Andreas Müller almost 6 years ago

Andreas Müller wrote:

Exception for second MAN of Achillea santolinoides Lag.

for this data on test.cyprus

This is not yet fixed. The exception still exists. #7658#note-17

Actions #33

Updated by Andreas Müller almost 6 years ago

Deduplication should include appendedPhrase part I think (this is also not yet implemented in the server side misapplication deduplication and also has not yet been discussed in our last discussion on deduplication).

E.g. - "Achillea santolina" auctrs. afr.; Meikle 1988 should be deduplicated and not 2 entries.

This is because the appendedPhrase for MANs is usually used as kind of freetext for the sensu reference like in the above example.

Actions #34

Updated by Andreas Müller almost 6 years ago

Andreas Müller wrote:

Does not yet work for pro parte and partial MANs.

This is also still an open issue.

Actions #35

Updated by Andreas Kohlbecker almost 6 years ago

  • % Done changed from 70 to 80

please review again

Actions #36

Updated by Andreas Müller almost 6 years ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Andreas Kohlbecker to Andreas Müller
Actions #37

Updated by Andreas Kohlbecker almost 6 years ago

Fehler wie bei Achillea santolinoides beseitigt, aber die Fußnoten bei den nicht MANs fehlen noch - kommt in 3.4!

Actions #38

Updated by Andreas Kohlbecker almost 6 years ago

Andreas Kohlbecker wrote:

Fehler wie bei Achillea santolinoides beseitigt, aber die Fußnoten bei den nicht MANs fehlen noch - kommt in 3.4!

jetzt müsste es perfekt sein!

der Review lohnt sich nun.

Actions #39

Updated by Andreas Müller almost 6 years ago

"auct." (appended phrase) does not show up, e.g.

  • "Achillea santolina" , non Test , but should be "Achillea santolina" auct., non Test

The auct. is in the webservice but seems to get lost in the portal code

Actions #40

Updated by Andreas Müller almost 6 years ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Andreas Kohlbecker
Actions #41

Updated by Andreas Müller almost 6 years ago

Andreas Müller wrote:

"auct." (appended phrase) does not show up, e.g.

  • "Achillea santolina" , non Test , but should be "Achillea santolina" auct., non Test

The auct. is in the webservice but seems to get lost in the portal code

This is only the case, if no sensu reference is defined

Actions #42

Updated by Andreas Müller almost 6 years ago

Deduplication takes not yet place when the relationship is of type "pro parte Misaplied Name" or "partial Misapplied Name", but should. But of course only if both types are equal, so don't mix MAN with ppMAN or partialMAN with ppMAN ...

Actions #43

Updated by Andreas Kohlbecker almost 6 years ago

Andreas Müller wrote:

Deduplication takes not yet place when the relationship is of type "pro parte Misaplied Name" or "partial Misapplied Name", but should. But of course only if both types are equal, so don't mix MAN with ppMAN or partialMAN with ppMAN ...

Oops, this is a new requirement.

Actions #44

Updated by Andreas Kohlbecker almost 6 years ago

Andreas Müller wrote:

Andreas Müller wrote:

"auct." (appended phrase) does not show up, e.g.

  • "Achillea santolina" , non Test , but should be "Achillea santolina" auct., non Test

The auct. is in the webservice but seems to get lost in the portal code

This is only the case, if no sensu reference is defined

It is actually the "Combination Authors" data which causes the problem.

Actions #45

Updated by Andreas Kohlbecker almost 6 years ago

  • Status changed from Feedback to Resolved
  • Assignee changed from Andreas Kohlbecker to Andreas Müller

all mentioned bugs fixed!

Actions #46

Updated by Andreas Müller almost 6 years ago

The sort order is still not correct. We should first have pro parte/partial synonyms, then invalid designations, then MANs followed (or including?) pro parte/partial MAN and finally concept relationships.

Currently they come mixed up:

Actions #48

Updated by Andreas Müller almost 6 years ago

This problem is not release critical. We can fix it in 5.4. Maybe only moving up ppSyn to top would be nice but if not it is acceptable.

Actions #49

Updated by Andreas Müller almost 6 years ago

Andreas Kohlbecker wrote:

all mentioned bugs fixed!

Tested the 2 issues. Both work.

So the only open issue is the sorting #7658#note-46

We may move this to 5.4 if not easy to fix.

Actions #50

Updated by Andreas Müller almost 6 years ago

  • Status changed from Resolved to Feedback
  • Assignee changed from Andreas Müller to Andreas Kohlbecker
Actions #51

Updated by Andreas Müller almost 6 years ago

And ofcourse the footnotes for non-MAN data are still missing. #7658#note-37 or should this be fixed already? If yes, it doesn't seem to work.

Actions #52

Updated by Andreas Kohlbecker almost 6 years ago

  • Copied to bug #7766: Remaining issues for using relationship DTO webservice in portal added
Actions #53

Updated by Andreas Müller almost 6 years ago

  • Status changed from Feedback to Closed

Close this ticket. Remaining (and new) issues moved to #7766

Actions #54

Updated by Andreas Müller almost 6 years ago

  • % Done changed from 80 to 100
Actions

Also available in: Atom PDF