Forums

Chronoform doesn't save in database after modification (Part 2. The bug resurrection :) )

musinik 08 Nov, 2015
This bug came back.
It was some years ago. http://www.chronoengine.com/forums/posts/t24673/p106366/chronoform-doesn-t-save-in-database-after-modification.html#p106366
The same in my case. I'm using the latest version of Chronoforms and the latest Joomla.

Steps to reproduce:
1. Add DB Save
2. Add column to the table (an INT column, called user_id in my case).
3. Submit form. In debug I see the field in the scope of data[]. The same scope use all other fields (not a Model ID). The field user_id has value, but does not exist in the INSERT comand.
musinik 08 Nov, 2015
Debug Details:

Data Array

Array
(
[chronoform] => SHISHA_ORDER
[event] => submit
[user_id] => 424
[location_id] => 2
[bulb_id] => 1
[bowl_id] => 1
[mix_id] => 1
[discount_id] => 1
[submit] => Оформить заказ
[comment] =>
[03366040ee9c209b0f218392b3b7b444df65d662] => 1
[order_id] => 39
)

Array
(
)

Errors

Array
(
)

Debug Info

Array
(
[20] => Array
(
[DB Save] => Array
(
[Queries] => Array
(
[0] => INSERT INTO `SHISHA_ORDER` (`location_id`, `bulb_id`, `bowl_id`, `mix_id`, `discount_id`, `comment`) values ('2', '1', '1', '1', '1', '');
)

)

)

)
musinik 08 Nov, 2015
Answer
Fantastically, but I occasionaly found a "Delete cache" button and it worked.
The bug died luckily).
This topic is locked and no more replies can be posted.