Bug: Clicking clear this block for an x-block or task that is not created causes "Content not found" error

Steps to reproduce:
Morning review —> Time blocking —> Add 45-min ‘x-block’ —> click red text to clear block —> error msg “Content Missing"

(and then the x-blocks can get duplicated)

I’m delighted to let everyone know that this has been fixed and has been pushed to production.

If it happens to you again, please let us know as it is another problem.

Best,
Narath

PS: if you want to know the issue was caused by not updating the task id of the xblock after it was created. That has been fixed through the magic of async api fetch requests!