Project

General

Profile

Actions

bug #10313

open

Default color of terms is not shown correctly in dataportal maps

Added by Andreas Müller 12 months ago. Updated about 1 month ago.

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

0%

Estimated time:
Severity:
normal
Found in Version:
Tags:

Description

NoK:

fällt mir gerade mal wieder auf: Die Farben für die Status native und present sind nicht zu unterscheiden:
https://cichorieae.e-taxonomy.net/portal/cdm_dataportal/taxon/55309c20-e883-4ed9-bc8b-c85f56074e72 (Sachalin is "present")

AM:

stimmt, die sind sehr ähnlich.
Eigentlich sollte man das im TaxEditor unter Windows/Extras-Terms-Voabulary-DistributionStatus und das Auswahlt des Terms mit Color im Details View einstellen können, was die default Farbe ist für den jeweiligen Status. Ich habe das für „present“ mal zeitweise auf rot gestellt, aber ohne Erfolg (auch nach CDM Server neustart). Auch für native wird das derzeitig eingestellte gelb auf den Karten nicht angezeigt.

Der Wert scheint also nicht richtig ausgelesen zu werden.

Eine weitere Möglichkeit, die Farben der Status im Portal einzustellen ist im Admin Bereich des Portals unter https://cichorieae.e-taxonomy.net/portal/admin/config/cdm_dataportal/settings/layout/taxon und dann unter Taxon profile und dann ganz unten unter „Custom status colors“. Dort habe ich jetzt mal {"p":"#00ff00"}
eingetragen. Es wird also reines grün angezeigt. Das scheint auch zu funktionieren, ist aber die weniger schöne Variante.

====

I make this a cdmlib issue for now as it is unclear if the problem is in DistributionInfo generation or on dataportal side.

It looks like the default color from term initialization is taken, not the one persisted with the term.
The same problem also exists for the maps in the TaxEditor, so it does not seem to be a dataportal issue.

====

after fixing this ticket reset settings in dataportal settings. Also make sure that colors in all dataportals are still the same as they currently are.


Related issues

Related to EDIT - feature request #10322: Use DTOs for portal taxon page (cont.)In ProgressAndreas Müller

Actions
Actions #1

Updated by Andreas Müller 12 months ago

  • Description updated (diff)
Actions #2

Updated by Andreas Müller 12 months ago

  • Description updated (diff)
Actions #3

Updated by Andreas Müller 11 months ago

Actions #4

Updated by Andreas Müller about 1 month ago

  • Target version changed from Release 5.44 to Release 5.43
Actions

Also available in: Atom PDF