geonetwork / core-geonetwork

GeoNetwork is a catalog application to manage spatially referenced resources. It provides powerful metadata editing and search functions as well as an interactive web map viewer. It is currently used in numerous Spatial Data Infrastructure initiatives across the world.
http://geonetwork-opensource.org/
GNU General Public License v2.0
429 stars 489 forks source link

Untidy display of responsible party details when individual and/or position name omitted #4257

Closed jonescc closed 7 months ago

jonescc commented 4 years ago

Describe the bug Untidy display of responsible party details when individual and/or position name omitted in 19139 full view (also in 19115-3:2008)

To Reproduce Steps to reproduce the behavior:

  1. Create or edit a 19139 record
  2. Change to full view display mode
  3. Add or change point of contact so that an organisation is specified but no individual or position is specified
  4. Save and close record
  5. Go to full view display mode
  6. Organisation name is displayed with trailing ' - ()'

Expected behavior Separator/parenthesis are only displayed when required.

jonescc commented 4 years ago

I think the issue here is that empty elements are created if individual/position is not entered. The user must delete elements which don't apply (don't really want empty elements in the metadata). This wasn't obvious to our metadata person and hence this issue was raised. Not quite sure what the resolution should be for this - don't create empty elements?