mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
* refactor: switch form service getTask to use runtime bundle API instead of query service * Update form-cloud.service.ts * Add TaskDetailsCloudModelRuntimeBundle interface * Update getTaskById to return TaskDetailsCloudModelRuntimeBundle * Modify return type of getTaskById method Updated return type of getTaskById to include TaskDetailsCloudModel. * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Refactor TaskDetailsCloudModel by removing fields Removed unused properties from TaskDetailsCloudModel. * Update task-cloud.service.ts * Update task-cloud.service.ts * fix: add 404 fallback to query service in FormCloudService.getTask for completed tasks * AAE-47634 getTaskById: call Runtime Bundle first, fall back to Query Service on 404 * AAE-47634 Gate Runtime Bundle task fallback behind ADF_TASK_RUNTIME_BUNDLE_FALLBACK_ENABLED token and drop no longer used taskDetailsSource input * refactor: update task fetching tests to use async/await and firstValueFrom --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Eugenio Romano <eromano@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: alep85 <amedeo.lepore@hyland.com>