Open iamaduck opened 1 year ago
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.
We believe it is caused by this in the db:
I am having the same issue. I tried to install the mirt package using the Administration console but it still shows "Installing package mirt." under Description and with "Ongoing" under Status. This prevents me from importing any content including .yml files to create a new test. I already removed and imported the Concerto image on Docker but it did not fix the problem. How do I terminate the package installation?
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.