Open gracepotma opened 1 year ago
Go back to the form editor where you encountered the infinite loading state. Locate the JSON code section that caused the issue. Find the line that references the non-existent concept ID. Remove the invalid concept ID or replace it with a valid one that exists in the system. Save the changes to the JSON code. Try to reload the form to ensure that it no longer gets stuck in an infinite loading state.
Scenario: This happened to me when I thought we had a concept in dev3 that we actually did not yet. I can see this happening if an organization is pasting a JSON schema from elsewhere e.g. trying to reuse an existing form, or during testing.
Steps:
Expected: An error message to the effect of "The concept in line ____ does not exist in your EMR. Please add that concept or use a different one." ...and of course, no more stuck-in-infinite-loading.