We have swimlanes working correctly now (thanks again Marcio). However, when attempting to expand / collapse the swimlane I'm seeing this error message. Not sure why?
Screen Shot 2023-08-17 at 15.23.23.png (192.81 KiB) Viewed 473 times
Hmm interesting. Can you, in your demo code, also try setting swimlaneField to something different, just to see what impact that has? To answer your question yeah all my owners have ownerId (I'm working with a local JSON file and was able to confirm that). Also, this happens for the "lookupActionType" swimlane as well. I'm wondering if something else BESIDES swimlanes and swimlaneField needs to be configured?
It is working fine here. Could you please provide us a runnable test so can test and debug it?
Please make sure you're using the latest version to reproduce the issue!
I will check that I'm using the latest version - right now we're on 5.5.1. Due to corporate policy I cannot provide runnable code, but I'm very happy to share code samples (I am allowed to do that). I think I could help you guys debug this if there was a non-minified version of taskboard.module.js, because the error thrown is within that file. Do you have a non-minified version of taskboard.module.js I could inject into my node_modules directory and use to help troubleshoot?
If for that's not allowed, what additional code can I show you to help troubleshoot this issue?
And the collapse / expand problem goes away. So the issue here, I think, is adding the Swimlane Field and Swimlanes collection programmatically. I'll continue to investigate - but hopefully this helps you guys tweak your test code to see whether you can confirm this issue.
Another follow up. Adding a static swimlane field and collection of swimlanes to the configuration object also causes the programmatically modified swimlane field / swimlanes collection to NOT work correctly. I can reproduce this pretty easily.
If you configure swimlanes manually (as I did in my last comment), then take this code (which works when no swimlanes are configured manually) you'll see the swimlanes no longer change. Changing the swimlaneField appears to be okay, but the LANES do not go away: