[Vtigercrm-commits] [vtiger development] #4692: Date and time validation is not proper in Calendar module

vtiger development vtiger-tickets at trac.vtiger.com
Sat Dec 15 04:47:56 EST 2007


#4692: Date and time validation is not proper in Calendar module
-----------------------+----------------------------------------------------
 Reporter:  bharathi   |       Owner:  developer
     Type:  defect     |      Status:  new      
 Priority:  major      |   Milestone:           
Component:  vtigercrm  |     Version:  5.0.4    
 Keywords:             |  
-----------------------+----------------------------------------------------
 I have 3 issues related with validation. Those are :

 1. When creating event, end time should be greater than the start time,
 when start date and end date are equal. But in the edit view of an event
 if you give end time lesser than start time, it just save the record. But
 it should not and should alert the user.

 2. When I create repeat event based on the month, It has two option to
 select. I have selected first option like Repeat once in every 1 month
 "'''on 1.5 day of the month'''". It didn't alert me for that and ends up
 with the following error.


 '''Fatal error: Maximum execution time of 30 seconds exceeded in
 /opt/lampp/htdocs/daily/val504/vtigercrm/modules/Calendar/Date.php on line
 323'''
 and its allowing me to give more than 31(total day of a month would be 30
 or 31) day in the text box. For example if i give 40, it save that record
 and will show improper result.

 3. If an event status is Planned then start date and time should be
 greater than the current date and time. It is working properly and alert
 the user if the data was incorrect. But it would be nice if we change the
 alert message . If start date is greater than the current date but not
 start time , then it should show the message like "Start time should be
 greater than the current time". Instead currently it showing like "Start
 date and time should be greater than the current date and time for the
 activity status Planned".

 Pls., feel free to let me know If I am wrong.

 Thanks,
 Bharathi.

-- 
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4692>
vtiger development <http://trac.vtiger.com/>
vtigerCRM




More information about the vtigercrm-commits mailing list