Project

General

Profile

Actions

bug #7692

closed

Empty "Specimens" section

Added by Andreas Kohlbecker over 4 years ago. Updated over 4 years ago.

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

100%

Estimated time:
Severity:
major
Found in Version:

Description

In some cases the tabless taxon page shows an empty "Specimens" section.

Example: http://caryophyllales.org/nepenthaceae/cdm_dataportal/taxon/fb987766-3ea5-45e0-a606-ca9b9d1253cf


Files

picture816-1.png (25.7 KB) picture816-1.png Andreas Kohlbecker, 08/28/2018 04:00 PM
picture816-2.png (5.21 KB) picture816-2.png Andreas Kohlbecker, 08/28/2018 04:00 PM

Related issues

Related to EDIT - bug #7686: Specimen title cache issues in data portal specimen tableClosedAndreas Kohlbecker

Actions
Related to EDIT - feature request #7704: Dataportal specimen table should be able to show DerivedUnits without a FieldUnitClosedAndreas Kohlbecker

Actions
Actions #1

Updated by Andreas Kohlbecker over 4 years ago

  • Status changed from New to In Progress

The web service returns one specimen for this taxon:

http://api.cybertaxonomy.org/caryo_nepenthaceae/occurrence/byAssociatedTaxon.json?relationshipsInvers=&relationships=&taxonUuid=fb987766-3ea5-45e0-a606-ca9b9d1253cf

{

    "prevIndex": null,
    "records": [
        {
            "data": [ ],
            "individualCount": "",
            "recordBasis": "PreservedSpecimen",
            "uuid": "8793b96f-8265-47f4-82a5-9e5e636cd8f3",
            "identityCache": "",
            "preferredStableUri": "",
            "catalogNumber": "",
            "barcode": "",
            "collectorsNumber": "",
            "created": "2018-06-02T09:15:00.000+02:00",
            "mostSignificantIdentifier": "",
            "originalLabelInfo": "",
            "titleCache": "Philippines, Luzon, Prov. Ilocos Norte, Burgos, male fl . 23 – 25 Nov 1916 Fenix BS 26726 (neotype: US, photo, K, isoneotypes: BO n.v., SING n.v.).",
            "protectedTitleCache": true,
            "updated": "2018-06-02T19:18:15.000+02:00",
            "exsiccatum": "",
            "protectedIdentityCache": false,
            "accessionNumber": "",
            "lsid": null,
            "class": "DerivedUnit",
            "publish": true
        }
    ],
    "suggestion": "",
    "count": 1,
    "lastRecord": 1,
    "pageSize": 30,
    "nextIndex": null,
    "currentIndex": 0,
    "indices": [
        0
    ],
    "pagesAvailable": 1,
    "firstRecord": 1,
    "class": "DefaultPagerImpl"

}

it is not shown in the portal, though.

Actions #2

Updated by Andreas Kohlbecker over 4 years ago

  • % Done changed from 0 to 10

The actual problem is that the webservice portal/taxon/fb987766-3ea5-45e0-a606-ca9b9d1253cf/associatedFieldUnits.json?&pageSize=50 is not returning a fieldunit.

Actions #3

Updated by Andreas Kohlbecker over 4 years ago

This is not a bug in the webservice. The Specimen in question actually has no FieldUnit.
So this is primarily a data problem and also a problem with the compressed derived unit table, which can only display specimens which have a FieldUnit.
When the default specimen display is being used the Specimen-section is no longer empty:

Adding an empty FieldUnit can help to solve the problem of the empty section to some degree. But the result is not very appealing:

Actions #4

Updated by Andreas Müller over 4 years ago

  • Related to bug #7686: Specimen title cache issues in data portal specimen table added
Actions #5

Updated by Patrick Plitzner over 4 years ago

  • Related to feature request #7704: Dataportal specimen table should be able to show DerivedUnits without a FieldUnit added
Actions #6

Updated by Andreas Müller over 4 years ago

  • Target version deleted (Release 5.3)
Actions

Also available in: Atom PDF