Project

General

Profile

bug #7692

Empty "Specimens" section

Added by Andreas Kohlbecker 12 months ago. Updated 12 months ago.

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

100%

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

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

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


Related issues

Related to Edit - bug #7686: Specimen title cache issues in data portal specimen table Feedback 08/27/2018
Related to Edit - feature request #7704: Dataportal specimen table should be able to show DerivedUnits without a FieldUnit New 08/30/2018

Associated revisions

Revision 02f3768c (diff)
Added by Andreas Kohlbecker 12 months ago

ref #7692 avoiding php warning related to specimen table

History

#1 Updated by Andreas Kohlbecker 12 months 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.

#2 Updated by Andreas Kohlbecker 12 months 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.

#3 Updated by Andreas Kohlbecker 12 months ago

  • File picture816-1.png View added
  • File picture816-2.png View added
  • Status changed from In Progress to Worksforme
  • Assignee changed from Andreas Kohlbecker to Walter Berendsohn
  • % Done changed from 10 to 100

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:

#4 Updated by Andreas Müller 12 months ago

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

#5 Updated by Patrick Plitzner 12 months ago

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

#6 Updated by Andreas Müller 12 months ago

  • Target version deleted (Release 5.3)

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)