View Issue Details

IDProjectCategoryView StatusLast Update
0013008mantisbtbugtrackerpublic2011-08-05 02:41
Reporterlucenic Assigned Toatrol  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionduplicate 
Product Version1.2.4 
Summary0013008: Due date picked from calendar causes validation error when changing bug status
Description

The calendar picker generates date and time into the Due date field that has 16 characters (xxxx-xx-xx_hh:mm). There is a check on due date field to have no more than 10 characters (due date input tag has set maxlength="10") on update status page (bug_change_status_page.php), so the submission is not possible after due date is picked from calendar. The time part in due date field has to be deleted manually in order to submit the bug status update.

Steps To Reproduce
  1. Let's have a bug e.g. in confirmed state,
  2. click on Change status to 'Assigned' button,
  3. pick a due date from the javascript calendar,
  4. submit the bug status change.
Additional Information

Issue is related to http://www.mantisbt.org/bugs/view.php?id=9155 , that -if fixed as suggested by Blue Ninja (http://www.mantisbt.org/bugs/view.php?id=9155#c17856)- would remove the need to deal with times at all in the due date field.

Nevertheless I would prefer the possibility to update the due date value with the time part as it gets filled directly by the calendar picker.

TagsNo tags attached.
Attached Files
mantis_bug_13008.png (124,998 bytes)   
mantis_bug_13008.png (124,998 bytes)   

Relationships

duplicate of 0012910 closeddhx due_date is limited to 10 characters in Opera and Chrome 

Activities

cas

cas

2011-05-18 07:57

reporter   ~0028794

Are you sure this applies to 1.2.4 ?
In my version 1.2.4 (also valid in 1.2.5) the length is set to 16

lucenic

lucenic

2011-05-18 08:06

reporter   ~0028795

Yes, please see the attachment.

atrol

atrol

2011-05-18 09:31

developer   ~0028796

Have a look at the duplicate bug 0012910 which has been fixed in version 1.2.5
This was the commit for the fix
http://git.mantisbt.org/?p=mantisbt.git;a=blobdiff;f=bug_change_status_page.php;h=54c66babd500ba3ebdbcbb545263bae0223057de;hp=461e8d3369f76fb6bffc64497570540094455b27;hb=0d7a6f46db08c733fb1355742dd3ee1d81bd11f5;hpb=706167c45ff54aa69858e7fe47a998282e9f3c92