Error message looks funny when date doesn't validate according to w3cdtf

Project:RUcore Workflow Management System (WMS)
Version:7.0
Component:Metadata
Category:bug report
Priority:normal
Assigned:yuyang
Status:postponed
Description

If I choose encoding=w3cdtf and input a date like 20070728, the resulting error message reads as follows. 'Undefined' should not appear, right?

The format of the date/time is incorrect. You should use one of the following formats:

YYYY
YYYY-MM
YYYY-MM-DD
YYYY-MM-DDThh:mmTZD
YYYY-MM-DDThh:mm:ssTZD
YYYY-MM-DDThh:mm:ss.sTZD
undefined
undefined

undefined

Comments

#1

Assigned to:yuyang» ananthan

#2

Version:5.2» 5.3

#3

Version:5.3» 6.2
Assigned to:ananthan» yuyang

Moving from 5.3 to 6.2.

#4

Status:active» test

Before test, remove the "undefined" entries in WMS CV configuration first. Test when release 7.0 moves to rep-devel/test site. -YY

#5

Version:6.2» 7.0

#6

Assigned to:yuyang» jjotto

#7

Status:test» active

Fixed, except the message is now followed by "Date/time length incorrect [code 1]."
Please remove that line.

#8

Assigned to:jjotto» yuyang

Assigning to Yang.

#9

Status:active» postponed

Cannot reproduce #7. If the problem does exist, provide more details (metadata type, field name, etc.). -YY

Back to top