Bug in module Task?

Hello,

I’ve created a relationship between custom module X with module Task.

Automaticaly 2 subpanels appear in Detail View of module X (Tasks and History). This is ok.

After I created a Task and a Note in the subpanels, when I access the record of module X it doesn’t show the subpanels anymore. It show a message to go and see the log.

this is the error in the log “MySQL error 1054: Unknown column ‘tasks.date_end’ in ‘field list’”

I’ve changed the file modules\Tasks\metadata\subpanels\ForActivities.php line 79 and 80

'date_due' => array(
            'vname' => 'LBL_LIST_DUE_DATE',
            'width' => '10%',
            'alias' => 'date_end',
            'sort_by' => 'date_end',
        ),

The correct

'date_due' => array(
            'vname' => 'LBL_LIST_DUE_DATE',
            'width' => '10%',
            'alias' => 'date_due',
            'sort_by' => 'date_due',
        ),

After this change the error stopped.

My suitecrm Version 7.11.4

Anyone can confirm if this is a bug? Where is the best place to report bug to assure that they are resolved in the next patch or release?

Thank you

There are already a few bugs related to “date_due” in subpanels, open in Github: https://github.com/salesagility/SuiteCRM/issues/

It’s a bit confusing - fixing one bug created another, then fixing that created another; I think it will all be fixed in the next version but I am not sure, please keep an eye on any related issues you find there, and comment if you think you have useful new information. Thanks

1 Like

Yeah, it is a bug. I’ve faced it a few times in subpanels.

1 Like