Forums

update bug

webcrea 21 Sep, 2018
hi,

Data override on update :

modified:{date:Y-m-d H:i:s}
composition_portefeuille:{data.jsonen:composition_portefeuille}
origine_fonds:{data.jsonen:origine_fonds}
objectifs_dinvestissements:{data.jsonen:objectifs_dinvestissements}

Why the 3 json values are not saved?

debug :
Array
(
    [save_data13] => Array
        (
            [data] => Array
                (
                    [modified] => 2018-09-21 11:09:04
                    [composition_portefeuille] => ["OPCVM monétaires","FIP","Alternext"]
                    [origine_fonds] => ["Succession","Donation","Cession entreprise"]
                    [objectifs_dinvestissements] => ["Résidence secondaire","Projet professionnel","Spéculation"]
                )

            [_success] => Data saved successfully
            [log] => Array
                (
                    [0] => UPDATE `xxx_chronoforms_data_mvc` AS `Data13` SET `modified` = '2018-09-21 11:09:04' WHERE `id` = '2';
                )

            [var] => Array
                (
                    [modified] => 2018-09-21 11:09:04
                )

        )

)
thanks
webcrea 24 Sep, 2018
To solve this, go to bed for the week-end !!!
This topic is locked and no more replies can be posted.