Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error #18

Open
caiolear opened this issue Dec 16, 2019 · 6 comments
Open

Error #18

caiolear opened this issue Dec 16, 2019 · 6 comments

Comments

@caiolear
Copy link

When associate a milestone on card, and open the card, it presents:

PHP Notice: Undefined index: column_id in C:\inetpub\wwwroot\kanboard\app\Template\task\dropdown.php on line 54 PHP Stack trace: PHP 1. {main}() C:\inetpub\wwwroot\kanboard\index.php:0 PHP 2. Kanboard\Core\Controller\Runner->execute() C:\inetpub\wwwroot\kanboard\index.php:9 PHP 3. Kanboard\Core\Controller\Runner->executeController() C:\inetpub\wwwroot\kanboard\app\Core\Controller\Runner.php:31 PHP 4. Kanboard\Controller\TaskViewController->show() C:\inetpub\wwwroot\kanboard\app\Core\Controller\Runner.php:77 PHP 5. Kanboard\Helper\LayoutHelper->task() C:\inetpub\wwwroot\kanboard\app\Controller\TaskViewController.php:77 PHP 6. Kanboard\Helper\LayoutHelper->subLayout() C:\inetpub\wwwroot\kanboard\app\Helper\LayoutHelper.php:72 PHP 7. Kanboard\Core\Template->render() C:\inetpub\wwwroot\kanboard\app\Helper\LayoutHelper.php:205 PHP 8. include() C:\inetpub\wwwroot\kanboard\app\Core\Template.php:83 PHP 9. Kanboard\Core\Template->render() C:\inetpub\wwwroot\kanboard\app\Template\task\show.php:23 PHP 10. include() C:\inetpub\wwwroot\kanboard\app\Core\Template.php:83 PHP 11. Kanboard\Core\Template->render() C:\inetpub\wwwroot\kanboard\plugins\Milestone\Template\task_internal_link\show.php:3 PHP 12. include() C:\inetpub\wwwroot\kanboard\app\Core\Template.php:83 PHP 13. Kanboard\Core\Template->render() C:\inetpub\wwwroot\kanboard\plugins\Milestone\Template\milestone\show.php:14 PHP 14. include() C:\inetpub\wwwroot\kanboard\app\Core\Template.php:83 PHP 15. Kanboard\Core\Template->render() C:\inetpub\wwwroot\kanboard\plugins\Milestone\Template\milestone\table.php:29 PHP 16. include() C:\inetpub\wwwroot\kanboard\app\Core\Template.php:83

@oliviermaridat
Copy link
Owner

Could you please elaborates which versions of Kanboard / Plugin you are using please?

@caiolear
Copy link
Author

Sorry, i forgot to post.

Kanboard 1.2.11
Puglin 1.1.2

@elradur
Copy link

elradur commented Feb 17, 2020

We also have this problem in our board. Although not all Milestone-Cards/-Tasks are affected - we have a task with 32 associated tasks; the other tasks we have, only have a maximum of 6 tasks - and there all seems to be in order.

Kanboard: 1.2.13
Plugin-Version: 1.1.2

The error-msg is:
PHP message: PHP Notice: Undefined index: column_id in /var/www/kanboard-1.2.13/app/Template/task/dropdown.php on line 54

@eSkiSo
Copy link

eSkiSo commented Feb 17, 2020

I believe (not tested) that this is just missing the column_id to be passed inside the $task array created on line 29 of Template/milestone/table.php, since core task/dropdown.php expects a column_id, when the task is active, to pass to canChangeTaskStatusInColumn($task['project_id'], $task['column_id']))

@edusouza96
Copy link

Same here too.

Kanboard: 1.2.10
Plugin-Version: 1.1.2

@edusouza96
Copy link

See PR #15 commit d89fd43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants