Skip to content

ISO19115-3.2008 / Metadata Editor / Error after selecting period time #6914

Description

@josegar74

Describe the bug
In the full view, selecting Period time > Duration and saving the metadata shows the following error:

KhN1514ZDqa

To Reproduce
Steps to reproduce the behavior:

  1. Create an ISO19115-3.2008 metadata , with the template Template for geographical data
  2. Switch to the Full view and add a Period time of type Duration

period-time-duration

Apparently nothing happens, in the Chrome developers tool, there is a failing request, returning:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<apiError>
  <code>runtime_exception</code>
  <description>A sequence of more than one item is not allowed as the first argument of normalize-space() ("data-gn-field-duration-div", "data-gn-field-duration-div") </description><message>XPathException</message>
</apiError>
  1. Click Save metadata and the error is displayed in a popup.

The popup is displayed only in 3.12.x, in 4.2.x same error, but no popup is displayed, just the spinner in the Save metadata button.

Thanks @juanluisrp for pointing the error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions