Importing tests leads to "Validation failed: There are already pending or ongoing scheduled tasks."
Opened this issue · 1 comments
Concerto Platform version
v5.0.27
Expected behavior
Importing tests overwrites any tests that were left with the "Convert" action, and creates new tests for all tests with the "New" action.
Actual behavior
Importing tests in an unsafe manner seems to lock the import feature, with any future imports giving the error "Validation failed: There are already pending or ongoing scheduled tasks." Restarting the docker container does not make the error go away, leaving the concerto instance unable to import any tests. This also blocks creation of new content with the error "Validation failed: Content modification is temporary blocked. Try again later."
Steps to reproduce the issue
Exact issue is unknown, I was importing tests that are modifications of some "Starter content" tests and left the action to "Convert," which I suspect has something to do with it.
Hi Ben - we just experienced something similar. We had two people in the admin console at the same time (though using different admin logins). I began importing a test while my colleague saved some editing work he was doing on a template. The test being imported was safe but this action still caused the same behaviour of the "Validation failed: There are already pending or ongoing scheduled tasks." message when trying to import and "Validation failed: Content modification is temporary blocked. Try again later." when trying to edit anything in the admin console.