-
Notifications
You must be signed in to change notification settings - Fork 29
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
Task order not reflecting Lab choice + freezing workflow #5807
Task order not reflecting Lab choice + freezing workflow #5807
Comments
Possibly seeing the same issue on project 20163, workflow 25006. Freshdesk ticket link.
Note that this is a single-task workflow, not branching. I was able to replicate right away. After drawing 2 boxes and entering test transcription data, I clicked 'Next' and nothing happened. I can confirm that, in the Lab, the next step is set to 'Submit classification and load next subject'. |
Update: on project 20163, workflow 25006, I tried the workaround that the original team described (changing the next step to a different task, then re-selecting "submit") and it seemed to work, at least temporarily. I'll ask the team to keep an eye on it and let us know if they encounter the issue again. |
An important distinction is that this bug only occurs in the FEM classifier, not the PFE classifier. I updated the project link in "How to Replicate" to https://frontend.preview.zooniverse.org/projects/johandmi/arctic-archives-unraveling-greenlands-weather-history/classify/workflow/25700 Noting that the second project mentioned is ABC's of Dialect on FEM https://frontend.preview.zooniverse.org/projects/dschopper/the-abcs-of-dialect |
This sounds like a Project Builder bug that came up a couple of times during Engaging Crowds. When you delete a task, it doesn't necessarily clear In the broken workflow, you can see that When a task doesn't exist, the Project Builder incorrectly shows 'Submit classification…' as the next task. I bet that's what has happened here. |
In regards to the freezing workflow, when I inspected the code for the done button, it seems that there is no code for the on-click activity of the done button in the monthly data workflow which should be coded in JS. Adding the code along with connecting it to the backend should fix the job. |
@eatyourgreens how did you inspect the broken workflow to see I'm looking for the best way to debug here because it's confusing that the above mentioned project's workflow is broken in the FEM classifier, but NOT in the PFE classifier. I don't think anyone's been able to replicate the classifier bug in PFE yet. |
Yep, I looked at When you delete a task in the project builder, I don't think the workflow editor clears any references to that task key in other workflow tasks. So tasks can be left with
PFE overwrites |
This reads like it was generated by ChatGPT. |
Thanks this helps! Sounds like it would be beneficial to make the fix in the workflow editor and that FEM's classifier is doing its job even though T8 doesn't exist. |
Actually, several of the editor files in the project builder are written in coffeescript 😬 I might favor adding the same @eatyourgreens did you look into how to change the current project builder so the task editor clears any references to a deleted task key in other tasks? (when encountered in Engaging Crowds work) |
I haven't looked into it, but this is the function that removes a task from a workflow. |
Davy Notebooks Project experienced this issue. They copied an existing workflow and deleted one task from the workflow. When they launched, the last task in the new workflow showed the 'Next' button instead of 'Done', so the workflow couldn't move ahead. I fixed the issue by changing the ordering for the last task from 'Submit' to another task in the workflow, then changing it BACK to 'Submit'. After this, the workflow performed as expected. Why this is an edge case:
|
zooniverse/Panoptes-Front-End#7099 will fix this by removing dangling task keys, when you delete a task in the Project Builder. |
FEM
Choose from the list:
Describe the bug
3/13/24 update: This is a known PFE bug. It has a bandaid fix in PFE's classifier component, so the bug won't be an issue on PFE projects. FEM projects do not have this bandaid fix yet. For most projects, we will catch any instances of this bug at the building stage or at least during internal review/beta. Projects at risk of launching live workflows with this bug are: 1) already on FEM; and 2) have already launched and are adding new workflows without as much testing (e.g. copying a workflow).
--
A branching workflow in FEM (project ID: 21696) is at times displaying the 'Next' button when a specific task should lead to 'Submit classification and load next subject'. The 'Next' button doesn't lead anywhere and leaves the user stuck.
The project has multiple branching workflows (with identical structure), and this bug is appearing in some of them. The project owner can sometimes fix the issue by changing the 'next task' to a different task, and then changing it back to 'Submit classification and load next subject'.
From the original report (via Freshdesk ticket https://zooniverse.freshdesk.com/a/tickets/18560):
To Reproduce
Steps to reproduce the behavior:
Screenshots
demo.mp4
Expected behavior
The lab behavior is set to 'Submit classification and load next subject' for this step, which is what would be expected, not the 'Next' button
Device information
Desktop (please complete the following information):
Additional context
The project owner has ID'd a workaround for this, albeit it isn't always reliable:
The text was updated successfully, but these errors were encountered: