Merge branch 'bugfix/schedule-creation' into 'dev'

Fix schedules creation fail due to missing action ID

See merge request crafty-controller/crafty-4!791
This commit is contained in:
Iain Powrie 2024-08-08 19:41:47 +00:00
commit 149a51b4e6
2 changed files with 11 additions and 17 deletions

View File

@ -1,13 +1,7 @@
# Changelog
## --- [4.4.3] - 2024/TBD
### New features
TBD
## --- [4.4.3] - 2024/08/08
### Bug fixes
TBD
### Tweaks
TBD
### Lang
TBD
- Fix schedules creation fail due to missing action ID ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/791))
<br><br>
## --- [4.4.2] - 2024/08/07

View File

@ -341,7 +341,7 @@ class TasksManager:
job_data["cron_string"],
job_data["parent"],
job_data["delay"],
job_data["action_id"],
job_data.get("action_id", None),
)
# Checks to make sure some doofus didn't actually make the newly
@ -372,7 +372,7 @@ class TasksManager:
"system"
),
"command": job_data["command"],
"action_id": job_data["action_id"],
"action_id": job_data.get("action_id", None),
}
],
)
@ -399,7 +399,7 @@ class TasksManager:
"system"
),
"command": job_data["command"],
"action_id": job_data["action_id"],
"action_id": job_data.get("action_id", None),
}
],
)
@ -416,7 +416,7 @@ class TasksManager:
"system"
),
"command": job_data["command"],
"action_id": job_data["action_id"],
"action_id": job_data.get("action_id", None),
}
],
)
@ -436,7 +436,7 @@ class TasksManager:
"system"
),
"command": job_data["command"],
"action_id": job_data["action_id"],
"action_id": job_data.get("action_id", None),
}
],
)
@ -529,7 +529,7 @@ class TasksManager:
"system"
),
"command": job_data["command"],
"action_id": job_data["action_id"],
"action_id": job_data.get("action_id", None),
}
],
)
@ -553,7 +553,7 @@ class TasksManager:
"system"
),
"command": job_data["command"],
"action_id": job_data["action_id"],
"action_id": job_data.get("action_id", None),
}
],
)
@ -570,7 +570,7 @@ class TasksManager:
"system"
),
"command": job_data["command"],
"action_id": job_data["action_id"],
"action_id": job_data.get("action_id", None),
}
],
)
@ -590,7 +590,7 @@ class TasksManager:
"system"
),
"command": job_data["command"],
"action_id": job_data["action_id"],
"action_id": job_data.get("action_id", None),
}
],
)