Skip to content

Valid duration rejected by validation #24

@freshehr

Description

@freshehr

See attached .opt template and xml instance. Note that this was posted as XML - did not use FLAT JSON.

Error returned (tries with a few valid ISO duration strings) 

<title>Error 500 #1.0.0 Invocation exception to method:create:java.lang.IllegalArgumentException: Could not parse
		supplied content:java.lang.IllegalArgumentException: failed to create new instance of DV_DURATION:
		IllegalArgumentException: Wrong duration format: &quot;P4D&quot;, valueMap: {
		accuracy=java.lang.Float:0.0,
		value=java.lang.String:&quot;P4D&quot;}</title>

Archive.zip

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