You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Over in mozilla/firefox-translations-training#250 we're working on ensuring that action tasks work when fired from a task group created by another action task. (In this case, we mostly care about "Cancel All", but the same issue occurs for other actions.)
When we follow these steps:
Go to decision task group
Initiate a Train action (this creates a new task group with a bunch of tasks)
Navigate to one of the Tasks created from it
Go to that task's group
Use "Cancel All" from there
...the "Cancel All" action ends up firing against the original decision task group instead of the new task group. If you refresh the page before firing the action, it runs correctly against the new task group.
This suggests to me that there's some data not being propgated or updated correctly, most likely when navigating from the Train action to one of the tasks it creates, or from there to the task group view.
I spent some time in the React Dev Tools and couldn't find an obvious cause: all of the props in the TaskGroup view seemed to be correct, although I am far from an expert here.
I wasn't able to dig into the graphql queries at all - I'm suspicious that we may not be firing the same queries originally as we do when refreshing the task group view though.
The text was updated successfully, but these errors were encountered:
Over in mozilla/firefox-translations-training#250 we're working on ensuring that action tasks work when fired from a task group created by another action task. (In this case, we mostly care about "Cancel All", but the same issue occurs for other actions.)
When we follow these steps:
...the "Cancel All" action ends up firing against the original decision task group instead of the new task group. If you refresh the page before firing the action, it runs correctly against the new task group.
This suggests to me that there's some data not being propgated or updated correctly, most likely when navigating from the Train action to one of the tasks it creates, or from there to the task group view.
I spent some time in the React Dev Tools and couldn't find an obvious cause: all of the
props
in the TaskGroup view seemed to be correct, although I am far from an expert here.I wasn't able to dig into the graphql queries at all - I'm suspicious that we may not be firing the same queries originally as we do when refreshing the task group view though.
The text was updated successfully, but these errors were encountered: