Author Topic: Bug in detail task v1.4.1  (Read 2396 times)

Marcelo Porto

  • Newbie
  • *
  • Posts: 2
    • View Profile
Bug in detail task v1.4.1
« on: June 04, 2009, 02:37:36 pm »
Hi guys!

I have to report a bug and a suggestion.

The Bug: In the detail of the task, the start date is equal to end date.

Suggestion: would be put in the task pane to start date and end date of the task in his own title.

Thank you!

alvarotm01

  • Administrator
  • Sr. Member
  • *****
  • Posts: 335
    • View Profile
    • Email
Re: Bug in detail task v1.4.1
« Reply #1 on: June 08, 2009, 11:14:16 am »
Hi,

At this moment we are debugging this problem.

Thanks for the suggestion !!
and thanks for reporting !

greetings

alvarotm01

  • Administrator
  • Sr. Member
  • *****
  • Posts: 335
    • View Profile
    • Email
Re: Bug in detail task v1.4.1
« Reply #2 on: June 08, 2009, 11:33:43 am »
hi,

to fix this you only have to modify this file
"application/views/task/task_list.php", at lines 21 and 23 replace "getDueDate()" for "getStartDate()"
it should look like this
Code: [Select]
#21   <div class="startDate"><b><?php echo lang('start date'?>: </b><?php echo format_date($task_list->getStartDate(), null0?></div>
#22   <?php } else { ?>
#23   <div class="startDate"><b><?php echo lang('start date'?>: </b><?php echo format_descriptive_date($task_list->getStartDate(), 0?></div>