Skip to content

fix error when otherindex does not exist #192

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

Merged
merged 1 commit into from
Mar 28, 2025

Conversation

melanietreitinger
Copy link
Contributor

Scenario:
When a workflow is deactivated the assigned sortindex is "missing" in the workflow table.
If you want to move another, still active workflow to this position, a fatal error occurs:

grafik

This patch prevents this fatal error by omitting changes to a workflow which does not exist.

@melanietreitinger melanietreitinger force-pushed the patch-sortindex-missing branch from daf05d5 to 30ccc02 Compare July 3, 2024 07:44
@melanietreitinger melanietreitinger force-pushed the patch-sortindex-missing branch from 30ccc02 to 22d6c82 Compare March 27, 2025 08:15
@bluetom bluetom merged commit b8fbc81 into learnweb:master Mar 28, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants