Forum

[SOLVED] Some chang...
 
Notifications
Retirer tout

[SOLVED] Some changes not saved with postgres database

11 Posts
2 Utilisateurs
0 Reactions
6,662 Vu
(@pipobru)
Posts: 180
Active Member
Début du sujet
 
[#2882]

after other tests if apply modification in SqlElement.php all modifications is not recorded without error. (With postgresql database)


 
Posté : 11 Jan PM 16:011
(@babynus)
Posts: 14952
Membre Admin
 

Subject moved to new topic.

Could you check browser console ?


 
Posté : 11 Jan PM 16:011
(@pipobru)
Posts: 180
Active Member
Début du sujet
 

no error in web browser and postgresql but in apache log i have this:
[Mon Jan 11 14:35:12.038271 2016] [:error] [pid 1881] [client 172.19.29.142:54496] Invalid id value - [contentPaneTopPlanningDivHeight]
[Mon Jan 11 14:35:12.150338 2016] [:error] [pid 1897] [client 172.19.29.142:54499] Invalid id value - [contentPaneLeftBottomDivHeight]
[Mon Jan 11 14:35:12.221193 2016] [:error] [pid 1881] [client 172.19.29.142:54496] Invalid id value - [contentPaneLeftDivWidth]
........


 
Posté : 11 Jan PM 16:011
(@babynus)
Posts: 14952
Membre Admin
 

Issues in apache log do not concern issue with description.
Some users reported need to double save to store description.
Can you test this ?


 
Posté : 11 Jan PM 17:011
(@pipobru)
Posts: 180
Active Member
Début du sujet
 

For me, when apply only fix for postgresql only "description" is not recorded. After apply all step of this fix, all informations is not stored. Is a big bloquant problem. if i can help you directly whith a phone call, is not a problem for me.


 
Posté : 11 Jan PM 17:011
(@babynus)
Posts: 14952
Membre Admin
 

After apply all step of this fix, all informations is not stored. Is a big bloquant problem. if i can help you directly whith a phone call, is not a problem for me.

OK, so it is when you apply fix that is marked "for mysql" ?

Can you check log file for error ?


 
Posté : 11 Jan PM 17:011
(@pipobru)
Posts: 180
Active Member
Début du sujet
 

Yes, the probleme is when apply fix for all (and mySQL) Any error in log file:
Final patch (to keep it valid for MySql) will also add change of line 1829 in /model/persistence/SqlElement.php from
$selectFields.=" sum($fldName) as sum".ucfirst($fld);
to
$selectFields.=" sum($fldName) as sum".strtolower($fld);


 
Posté : 11 Jan PM 17:011
(@babynus)
Posts: 14952
Membre Admin
 

OK, ticket #1920 recorded.
Will investigate.


 
Posté : 11 Jan PM 18:011
(@pipobru)
Posts: 180
Active Member
Début du sujet
 

link or same problem with TOPIC: CK Editor ?


 
Posté : 11 Jan PM 18:011
(@babynus)
Posts: 14952
Membre Admin
 

No, I don't think it is linked.
I think that CK Editor issue is a javascript issue (question of delay between the onChange is triggered and the form is sent to the server)
Your issue is PostgreSql specific issue (cannot reproduce on MySql)


 
Posté : 11 Jan PM 19:011
(@pipobru)
Posts: 180
Active Member
Début du sujet
 

For me when apply the procedure write in this post the pb is not present, records is correct. For me, you can close this bug.


 
Posté : 11 Jan PM 22:011
Share:
Retour en haut