Open josegar74 opened 4 years ago
- Does it make sense the suggestions for multilingual fields (if so we should support that in the
labels.xml
, not sure if very optimal as will have to add all translations in everylabels.xml
file probably)
It would be hard to maintain I think and you have to be sure that a suggestion is available in all language files. It probably make more sense to use a thesaurus in such situation ?
2. Does it make sense, the current suggestion list for
gmd:description
in online resources with projections
It does not make any sense. Probably an error ? https://github.com/geonetwork/core-geonetwork/pull/3454/files#diff-9edb196db9b6857e1f3e578db9328026R1052-R1055
Test:
1) Create a new iso19139 multilingual metadata
2) Change to advanced view and add to a metadata contact an online resource (
Website
field)3) Description field for the onine resource is displayed as multilingual with empty suggestions list,
labels.xml
has a list of values (English language), but seem not pickup in multilingual fields:https://github.com/geonetwork/core-geonetwork/blob/eccf6696fc8797de7733885d1ad439182334c5b0/schemas/iso19139/src/main/plugin/iso19139/loc/eng/labels.xml#L1052-L1086)
4) Enable tooltips and save the metadata, the following JS error is displayed:
Seem the identifier assigned to multilingual fields with suggestions doesn't match with the identifier expected by the tooltip directive, causing the
field
being empty:https://github.com/geonetwork/core-geonetwork/blob/eccf6696fc8797de7733885d1ad439182334c5b0/web-ui/src/main/resources/catalog/components/edit/editorhelper/EditorHelperDirective.js#L118-L121
@fxprunayre:
1) Does it make sense the suggestions for multilingual fields (if so we should support that in the
labels.xml
, not sure if very optimal as will have to add all translations in everylabels.xml
file probably)2) Does it make sense, the current suggestion list for
gmd:description
in online resources with projections that seem quite focus on INSPIRE supported projections? (otherlabels.xml
for other languages doesn't have this configuration).