Actions
bug #9565
openRevise name render templates selection strategy
Start date:
Due date:
% Done:
0%
Estimated time:
Severity:
normal
Found in Version:
Description
In the flora of cuba the syn-sec. references are expected to be shown:
Initially the according name render templates where:
"taxon_page_synonymy,accepted_taxon.taxon_page_synonymy": {
"nameAuthorPart": {
"#uri": true
},
"referencePart": true,
"statusPart": true,
"descriptionPart": true,
"secReferencePart": true
},
"related_taxon": {
"nameAuthorPart": {
"#uri": true
},
"referencePart": true,
"statusPart": true
},
Adding "referencePart": true,
to `"related_taxon":{}
makes them visible:
"taxon_page_synonymy,accepted_taxon.taxon_page_synonymy,typedesignations.homotypicSynonymyGroup.taxon_page_synonymy,related_taxon.homotypicSynonymyGroup.taxon_page_synonymy,related_taxon.heterotypicSynonymyGroup.taxon_page_synonymy": {
"nameAuthorPart": {
"#uri": true
},
"referencePart": true,
"statusPart": true,
"descriptionPart": true,
"secReferencePart": true
},
"related_taxon": {
"nameAuthorPart": {
"#uri": true
},
"referencePart": true,
"statusPart": true,
"secReferencePart": true
},
Using the more specific render path key has no effect
"taxon_page_synonymy,accepted_taxon.taxon_page_synonymy,typedesignations.homotypicSynonymyGroup.taxon_page_synonymy,related_taxon.homotypicSynonymyGroup.taxon_page_synonymy,related_taxon.heterotypicSynonymyGroup.taxon_page_synonymy": {
"nameAuthorPart": {
"#uri": true
},
"referencePart": true,
"statusPart": true,
"descriptionPart": true,
"secReferencePart": true
},
"related_taxon": {
"nameAuthorPart": {
"#uri": true
},
"referencePart": true,
"statusPart": true
},
It is expected, that related_taxon.homotypicSynonymyGroup.taxon_page_synonymy
is being identified as most specifically matching render path, but his seems not to be working
The render template selection is done in name.inc get_nameRenderTemplate()
Updated by Andreas Müller about 3 years ago
- Target version changed from Release 5.25 to Release 5.51
Updated by Andreas Müller over 1 year ago
- Tags set to formatting
- Subject changed from revise name render templates selection strategy to Revise name render templates selection strategy
- Description updated (diff)
- Assignee changed from Andreas Kohlbecker to Katja Luther
- Target version changed from Release 5.51 to Release 5.49
Updated by Andreas Müller about 2 months ago
- Target version changed from Release 5.49 to Release 5.47
Actions