[Vtigercrm-commits] [Vtiger development] #8545: Bug in Scheduled Reports Windows

Vtiger development vtiger-tickets at trac.vtiger.com
Sat Apr 25 04:34:29 GMT 2015


#8545: Bug in Scheduled Reports Windows
-------------------------+---------------------------------------
 Reporter:  pablo.mazza  |      Owner:  developer
     Type:  defect       |     Status:  new
 Priority:  unassigned   |  Milestone:  Unassigned
Component:  vtigercrm    |    Version:  6.2.0
 Severity:  Medium       |   Keywords:  scheduled reports windows
-------------------------+---------------------------------------
 Illegal characters for the Windows filesystem are causing the function
 writeReportToCSVFile($fileName) to crash when trying to create the
 temporary file for scheduled reports.

 The problem lies in the function Sendmail() of ScheduledReports.php where
 the name of the file is generated, appending the timestamp to the report
 name in this format:

 $currentTime = date('Y-m-d:H:i:s');

 This can be easily fixed by changing the : for other character like this:

 $currentTime = date('Y-m-d.H.i.s');

--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/8545>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM


More information about the vtigercrm-commits mailing list