[ http://jira.dspace.org/jira/browse/DS-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10949#action_10949 ]
Stuart Lewis commented on DS-401: --------------------------------- [15:08] <stuartlewis> http://jira.dspace.org/jira/browse/DS-401 [15:08] <stuartlewis> Wrong date issued during submission [15:09] <stuartlewis> Old bug, leave for after 1.6 (unless anyone wants to tackle it?) [15:09] <kshepherd> how 'valid' is valid? just making a hard liit of 31? [15:10] <kshepherd> do we need to know if it's a leap year before decidnig the max Feb date someone can enter? [15:10] <kshepherd> etc [15:10] <richardrodgers> Let's get the showstoppers first.. [15:10] <lcs> it'd be better to solve it right, and then there's the problem of error handling. [15:10] <stuartlewis> Exactly, so too big for 1.6? [15:10] <lcs> teh GregorianCalendar class can help you validate dates. but agreed, not 1.6. [15:10] <kshepherd> (the bug is just gregoriancalendar doing what its designed to do.. roll over to next month when it gets a number that overflows) [15:11] <stuartlewis> Ok - will leave open > Wrong date issued during submission > ----------------------------------- > > Key: DS-401 > URL: http://jira.dspace.org/jira/browse/DS-401 > Project: DSpace 1.x > Issue Type: Bug > Components: JSPUI, XMLUI > Affects Versions: 1.6.0 > Reporter: Claudia Jürgen > > 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: http://jira.dspace.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel