Forum

Kanban plugin - err...
 
Notifications
Retirer tout

Kanban plugin - error on moving tile on a kanban board based on activity status

22 Posts
3 Utilisateurs
0 Reactions
8,905 Vu
(@babynus)
Posts: 14952
Membre Admin
 

Reply posted (also nedd DB backup)


 
Posté : 13 Déc PM 18:1212
(@lfrugere)
Posts: 39
Active Member
Début du sujet
 

Reply posted


 
Posté : 13 Déc PM 20:1212
(@babynus)
Posts: 14952
Membre Admin
 

OK, I installed an instance from your data.
I connected as admin and accessed to Kanban.

I first accessed "Kanban Activité", managing activities, where I could move items from "En cours" to "Terminé"
I could move some activities (for instance #7) from "Backlog" to "En cours", but not all as I got a blocking message "le champ 'date de fin validée' est obligatoire":

Then I accessed "Kanban", managing Tickets.
There, I could not move any item : when you get a ticket and move it over another column, header is always red showing that move is impossible. Header is green only when Ticket is over his own column.
This means that the Workflow forbids the move : You cannot move the items from their current status to the first status of any column.

If it is the behavior you get, this is normal, the definition of your Kanban doew not fit the definition of the workflow.
If your behavior is different, please explain it step by step, using ids :
- wich user is connection (id of user)
- which kanban is used
- which item (id) is moved, from where to where...
Thanks


 
Posté : 13 Déc PM 21:1212
(@lfrugere)
Posts: 39
Active Member
Début du sujet
 

PM sent with steps to reproduce issue


 
Posté : 13 Déc PM 22:1212
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

I generated environment from your data : I could not reproduce the issue.
I sent you a PM with detail and acces to test platform.

Sure there is something wrong with your environment.
Please search for error, there must be something logged somewhere.
Possibly on Apache Error log or on Apache log or on PHP log (if any) or on Projeqtor log or on Browser console.
Possibly you may find syslog gathering all messages.


 
Posté : 14 Déc AM 11:1212
(@babynus)
Posts: 14952
Membre Admin
 

:woohoo: I GOT IT :woohoo:

I had to revert my dev env to PHP 5..3 (not easy as it required to revert also Apache from 2.4 to V2.2 in my Wamp)
Then I reproduced.
So it's a PHP 5.3 issue.

To fix it, replace line 38 in plugin/jkanban/kanbanUpdate.php from

$typeKanbanType=json_decode($Kanban->param,true)['typeData'];

to

$json=json_decode($Kanban->param,true);
$typeKanbanType=$json['typeData'];

This should work then.
I hope there is no other such syntax that PHP 5.3 does not support.


 
Posté : 14 Déc AM 11:1212
(@lfrugere)
Posts: 39
Active Member
Début du sujet
 

Congrats !

Many thanks


 
Posté : 14 Déc PM 20:1212
Page 2 / 2
Share:
Retour en haut