[ 
https://jira.duraspace.org/browse/DS-401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robin Taylor updated DS-401:
----------------------------

    Attachment: Check-DCDate-parameters.patch

Patch created against revision 5512 but successfully applied against most 
recent trunk (5706).

DCDate will now throw an exception if passed an invalid parameter. 
Unfortunately the Describe step of the submission process currently only checks 
for a value being present or not, there is no validation of the values. As a 
compromise solution the values entered will not be stored if they are invalid 
eg 30th Feb. The 'required' text in input-forms.xml will also need changed to 
be a bit more generic eg 'You must enter a valid date'.   

> Wrong date issued during submission
> -----------------------------------
>
>                 Key: DS-401
>                 URL: https://jira.duraspace.org/browse/DS-401
>             Project: DSpace
>          Issue Type: Bug
>          Components: JSPUI, XMLUI
>    Affects Versions: 1.6.0
>            Reporter: Claudia Jürgen
>            Assignee: Robin Taylor
>            Priority: Major
>             Fix For: 1.7.0
>
>         Attachments: Check-DCDate-parameters.patch
>
>
> During the submission of an item, which has been published before, it is 
> possible to enter an invalid day, e.g.
> month: January
> day: 43
> year: 2009
> This will result in dc.date.issued set to 2009-02-12.
> There should be a validity check or calendar to choose from. The 
> transformation of the date makes fault entries difficult to discover.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.duraspace.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to