When using a reloadable workflow (based on this and this), I'm getting the error:
No queries exist for component path (dashboard.core/Root dashboard.calendar/Calendar)
It seems to be caused only during the reloading phase of components of which I've modified and saved and "reloaded".
After digging a little deeper, it seems the components listed in the error message above are JS functions; so when modifying them, they change slightly, so when they're compared to the earlier-but-slightly-different-version of themselves they're no longer equal, which is what is causing the problem.
Here is some proof/examples of why this is true:
You can see the class path for (dashboard.core/Root dashboard.calendar/Calendar)is there:
but it really isn't nil, I can see that by printing what's in there. You can see it by when I compare based on the name of the functions instead of the functions themselves, it works:
When using a reloadable workflow (based on this and this), I'm getting the error:
It seems to be caused only during the reloading phase of components of which I've modified and saved and "reloaded".
After digging a little deeper, it seems the components listed in the error message above are JS functions; so when modifying them, they change slightly, so when they're compared to the earlier-but-slightly-different-version of themselves they're no longer equal, which is what is causing the problem.
Here is some proof/examples of why this is true:
You can see the class path for
(dashboard.core/Root dashboard.calendar/Calendar)
is there:However, when I get it, it returns
nil
:but it really isn't
nil
, I can see that by printing what's in there. You can see it by when I compare based on the name of the functions instead of the functions themselves, it works: