AnsweredAssumed Answered

meeting date_end not saving in before save logic hook

Question asked by Jonathan Houle on Feb 22, 2016
Latest reply on Feb 25, 2016 by cmutek

Hi, I have a simple before save logic hook.

 

My code is :

 

$meeting->date_end = $meeting->my_date_end_c;

 

And it's not working...

 

Log indicate the values before my code and after. Looks ok, but not saving.

Or it might be overriden after ?

 

Values before code:

Tue Feb 23 02:20:06 2016 [31284][1][FATAL] date_end:2016-02-23 19:45:00

Tue Feb 23 02:20:06 2016 [31284][1][FATAL] my_date_end_c:2016-02-23 21:15:00

 

Values after code:

Tue Feb 23 02:10:59 2016 [19613][1][FATAL] date_end:2016-02-23 21:15:00

Tue Feb 23 02:10:59 2016 [19613][1][FATAL] my_date_end_c:2016-02-23 21:15:00

 

Thanks,

 

Jonathan

Outcomes