Skip to content

Custom license saved without identifier -> Not usable in metadata form #13997

@thhomas

Description

@thhomas

Expected Behavior

As an admin, I create a custom license using the form with a Name, Description and/or License Text.
When I edit the metadata, I can select the new license from the form and save the dataset.

Actual Behavior

The license cannot be highlighted in the form and when selected cannot be saved. Can be even more visible when multiple custom license are created, when selecting one of them, it selects all of them and when saving, the validator fails because only one license can be selected.

Steps to Reproduce the Problem

  1. Create a custom license
  2. Try to select it in the select dropdown, it cannot be highlighted.

Specifications

  • GeoNode version: 5.0.1
  • Installation type (vanilla, geonode-project): vanilla
  • Installation method (manual, docker): docker
  • Platform:
  • Additional details:

The identifier field is editable=false. Should be either mandatory and edited by user or given a default value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions