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

To Reproduce
Steps to reproduce the behavior:
- Create an ISO19115-3.2008 metadata , with the template
Template for geographical data
- Switch to the Full view and add a Period time of type 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>
- 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.
Describe the bug
In the full view, selecting Period time > Duration and saving the metadata shows the following error:
To Reproduce
Steps to reproduce the behavior:
Template for geographical dataApparently nothing happens, in the Chrome developers tool, there is a failing request, returning:
Save metadataand the error is displayed in a popup.The popup is displayed only in
3.12.x, in4.2.xsame error, but no popup is displayed, just the spinner in theSave metadata button.Thanks @juanluisrp for pointing the error.