Forum

[SOLVED] Kanban set...
 
Notifications
Retirer tout

[SOLVED] Kanban settings are not saved between sessions

8 Posts
2 Utilisateurs
0 Reactions
4,574 Vu
Timo Hocker
(@timohocker)
Posts: 23
Eminent Member
Début du sujet
 
[#8523]

Creating a new post because the first one contained too many issues and wasn't receiving any more answers.

The settings in the top right of the kanban view are not getting saved. When I disable "show work on elements" it becomes enabled again once I log out and back in.
As stated in the previous post, an analysis on the database shows that the setting is written to the database, but seems to be ignored on loading.

...
I looked into the database to find where the parameters for kanban are stored, specifically the 'show work on elements'.
For my user it is stored in parameter with parametercode kanbanSeeWork8 and value null.
When I log in the checkbox is enabled and work is shown on all elements.
Changing the value of the checkbox correctly writes null or 1 into the database and updates the display, but it doesn't read the value on login.


 
Posté : 26/09/2022 1:06 pm
(@babynus)
Posts: 14952
Membre Admin
 

Cannot reproduce. Works fine for me.
Can you try and reproduce on Demo ( https://demo.projeqtor.org) ?


 
Posté : 27/09/2022 1:34 pm
Timo Hocker
(@timohocker)
Posts: 23
Eminent Member
Début du sujet
 

The demo correctly saves the settings.
I think the issue might be related to the database, because we are using postgresql instead of mysql.
I can send you a dump of the parameters table if that helps with analysis.


 
Posté : 27/09/2022 2:47 pm
(@babynus)
Posts: 14952
Membre Admin
 

Cannot reproduce, even on postgres.
Possibly you have some duplicates.
Try and delete parameters for given user

DELETE parameter where parameterCode like '%kanban%' and idUser=[yourid];

 
Posté : 27/09/2022 5:59 pm
Timo Hocker
(@timohocker)
Posts: 23
Eminent Member
Début du sujet
 

I successfully reset my settings with the mentioned command. The setting is still not saved after configuring it again.
I have noticed that the setting "show large elements" does save correctly, but it uses 'on', 'off' instead of null, 1. I have manually set "kanbanSeeWork8" to 'off' and it now loads without a problem.
The issue returns when I change the checkbox, then it writes 1 and null again.


 
Posté : 27/09/2022 6:11 pm
(@babynus)
Posts: 14952
Membre Admin
 

We'll have a look.
(issue may depend on PHP version)


 
Posté : 01/10/2022 5:11 pm
Timo Hocker
(@timohocker)
Posts: 23
Eminent Member
Début du sujet
 

I'm currently running PHP 8.1.10, switching to another version is easily possible.


 
Posté : 04/10/2022 10:44 am
(@babynus)
Posts: 14952
Membre Admin
 

Issue fixed on V10.1.2


 
Posté : 05/10/2022 5:30 pm
Share:
Retour en haut