You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After using Chart Sync, I can't approve a series of charts in the chart approval tool.
Expected behaviour
Charts approved after pressing the green Approve button
Steps to reproduce
Steps to reproduce the behavior:
In the Chart Sync tool, select Source: update-oecd-idd and Target: live and press Sync charts
Go to the chart approval tool
Select "Approve"
You will see this error:
Failed to POST /api/suggested-chart-revisions/36619/update (404)
Error: Suggest chart revision 36619 cannot be updated with status="approved".
at (/home/owid/owid-grapher/adminSiteServer/apiRouter.ts:916:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
The same happens with Reject:
Failed to POST /api/suggested-chart-revisions/36619/update (404)
Error: Suggest chart revision 36619 cannot be updated with status="rejected".
at (/home/owid/owid-grapher/adminSiteServer/apiRouter.ts:916:19)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Update: After some ~30 minutes I can see the charts approved and the list in the tool empty. I don't know if there still something to check, but it was weird behaviour.
This issue is probably related to a caching issue in the new https://admin.owid.io, because it took 30 minutes to be solved. This is discussed here in Slack.
danyx23
added
the
admin
Issues that need to be solved in the grapher admin (mostly)
label
May 7, 2024
Description
After using Chart Sync, I can't approve a series of charts in the chart approval tool.
Expected behaviour
Charts approved after pressing the green Approve button
Steps to reproduce
Steps to reproduce the behavior:
update-oecd-idd
and Target:live
and pressSync charts
Screenshots
Screen.Recording.2024-04-11.at.10.55.41.mov
Screen.Recording.2024-04-11.at.10.55.10.mov
Screen.Recording.2024-04-11.at.10.59.04.mov
Environment
For desktop, provide:
Additional context
I can't remove these suggestions in the tool, because they can't be approved, rejected or flagged
The text was updated successfully, but these errors were encountered: