After selecting a project and then refreshing the page, the navbar still shows the project_id which signifies that a project is selected. However, the app context is not storing the project OID anymore. So when trying to checkout/in a hardware resource, it does not provide the project_id field in the body of the POST request. This results in a server error since the backend doesn't catch KeyErrors yet.
After selecting a project and then refreshing the page, the navbar still shows the
project_id
which signifies that a project is selected. However, the app context is not storing the project OID anymore. So when trying to checkout/in a hardware resource, it does not provide theproject_id
field in the body of the POST request. This results in a server error since the backend doesn't catch KeyErrors yet.