Skip to content

fix(loc): report failed project copies and archives - #1077

Draft
benpeter wants to merge 4 commits into
mainfrom
loccopy
Draft

benpeter wants to merge 4 commits into
mainfrom
loccopy

Conversation

@benpeter

Copy link
Copy Markdown
Contributor

check the HTTP response before updating the project list. if the request fails, show an error and leave the list unchanged.

fixes scdemos/demo#222

The dashboard ignores the response of both requests, so a 403 shows as done.
Copy and archive now throw when the request fails, so the dashboard shows its existing
"Failed to copy/archive project" message and keeps the list as it was.
@aem-code-sync

aem-code-sync Bot commented Nov 28, 2026

Copy link
Copy Markdown

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch.
In case there are problems, just click the checkbox below to rerun the respective action.

  • Re-sync branch
Commits

@benpeter

Copy link
Copy Markdown
Contributor Author

a simulated 403 leaves the project in the dashboard and shows the archive error.

archive error above the project that remains in the list

This branch was successfully deployed

1 active deployment
loccopy — c5945da7 Deployed Nov 28, 2026 by aem-code-sync[bot]
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.

[hlx6] translations: failed copy or archive shows as done

1 participant