Save Data Override not saving field

apabiona 23 Jan, 2020
Hi,

I am doing a form with email verification. I have followed the steps that GreyHead outlined here - https://www.chronoengine.com/forums/posts/t105356/verify-confirm-an-email-address (thanks GreyHead!)

I have one last hurdle, the modified date does not update, I can change the status from pending to confirmed but for some reason the modified date doesn't save.

Is this is a bug or am I doing something wrong?

Debug code shows the modified field value but it does not update it.

I have set 'modified' value to {date:Y-m-d H:i:s} on Data Overrides section along with the 'status' override
[save_data20] => Array
(
[data] => Array
(
[status] => confirmed
[modified] => 2020-01-23 06:52:56
)

[_success] => Data saved successfully
[log] => Array
(
[0] => UPDATE `request_privacy` AS `Data20` SET `status` = 'confirmed';
)

[var] => Array
(
[status] => confirmed
)

)
healyhatman 23 Jan, 2020
Screenshot of your save data action please. Make sure you've put "on update" next to that data override section.
apabiona 24 Jan, 2020
Hi,

Here's my save data action. I did select 'on update'

Save Data Override not saving field image 1
apabiona 24 Jan, 2020
Since I couldn't get this to work I just used PHP to update the tables needed.
healyhatman 24 Jan, 2020
You haven't put anything in update conditions, so it's basically saying "update this table where (absolutely nothing)"
apabiona 24 Jan, 2020
Yes, I didn't put the update conditions yet, the status field was getting updated for all rows but not the modified field.

EDIT: Tried it again and it just worked with/without update conditions and I dunno why. Atleast it is resolved

Thank you for your toime!
espantos 07 Jan, 2021
Hi...
I have the same problem and I don't know what I need to do for it work...
espantos 07 Jan, 2021
I'm Sorry...
This is the correct Debug result screenshot for my case

Save Data Override not saving field image 6
espantos 07 Jan, 2021
Resolved...
I just click on "Clear Cache" and it works
This topic is locked and no more replies can be posted.