Taskboard Trial - Integration example blank

Our Kanban Task Board for easy management of tasks and agile workflows
Post Reply
User avatar
dicky.tyree
Posts: 1
Joined: Mon Jul 01, 2019 5:43 pm

Taskboard Trial - Integration example blank

Post by dicky.tyree » Mon Jul 01, 2019 5:52 pm

Just got the trial for taskboard setup the sql and login info for the db when you goto the index it just gives you a black screen, with the trail tag on the bottom and Logged in as lee at the top
you can see the json where its returning data and for a split second you see 4 white boxes then they disappear
header on the boxes are not started, in progress, test, done. noticed a javascript error
2019-07-01 11_46_35-Window.png
2019-07-01 11_46_35-Window.png (22.1 KiB) Viewed 165 times
2019-07-01 11_47_30-Window.png
2019-07-01 11_47_30-Window.png (15.71 KiB) Viewed 165 times
2019-07-01 11_53_34-Window.png
2019-07-01 11_53_34-Window.png (7.07 KiB) Viewed 163 times
any help would be appreciated no errors on the server in httpd log just access

User avatar
pmiklashevich
Core Developer
Core Developer
Posts: 2372
Joined: Fri Apr 01, 2016 11:08 am

Re: Taskboard Trial - Integration example blank

Post by pmiklashevich » Mon Jul 01, 2019 9:54 pm

Hello,

Thank you for the report! Ticket here: https://app.assembla.com/spaces/bryntum/tickets/8837-php-demo-is-broken-in-taskboard/details

I'm not sure about the final solution, since the ticket is on review stage, but that is definitely an application (demo) issue. So to get it running please change App.view.TaskBoardController.updateColumns to

Code: Select all

updateColumns : function () {
    var taskboard = this.getView(),
        columns = [];

    // new columns based on loaded states
    taskboard.stateStore.each(function (state) {
        columns.push({
            xtype      : 'taskcolumn',
            state      : state.getId(),
            title      : state.get('Name'),
            viewConfig : taskboard.viewConfig
        });
    });

    var column;

    // drop existing columns
    while (column = taskboard.down('taskcolumn')) {
        taskboard.remove(column);
    }

    // and add the new ones
    taskboard.add(columns);
}
Best,
Pavel
Pavel Miklashevich - Core Developer

User avatar
pmiklashevich
Core Developer
Core Developer
Posts: 2372
Joined: Fri Apr 01, 2016 11:08 am

Re: Taskboard Trial - Integration example blank

Post by pmiklashevich » Tue Jul 02, 2019 8:40 am

Passing the store to each column is not needed at all. That's internal thing that was accidentally revealed to the end users in the demo. Just remove this line and the issue will be solved. Edited the code snippet above. Cheers!
Pavel Miklashevich - Core Developer

Post Reply