OpenWork-NZ / core-geonetwork

GeoNetwork repository
http://geonetwork-opensource.org/
GNU General Public License v2.0
0 stars 3 forks source link

ANZMetLite Distribution Tab - cannot add distribution #112

Open ByronCinNZ opened 10 months ago

ByronCinNZ commented 10 months ago

When editing a record in ANZMetLite, the option to add a new distribution in the distribution tab presents no editable fields.

Proposed fix -

  1. Replace behaviour with an "Action - Add" and a code snippet.
  2. Add fields to the Distro online access table
  3. Ensure flatness of display
  4. Correct template records

Note - bugs remain. We aligned behaviour to that of the add distribution action in the side panel (standard GN functionality). However, this needs to be reviewed, as the behaviour seems incorrect, as the additional online resources add mrd:transferOptions for the same mrd:distributionInfo section instead of creating new mrd:distributionInfo sections.

TODO - Discuss with GA and MDWG