Currently record visibility is not changed when the community is selected in the deposit form. E.g. if a restricted community is selected, the record will still have "public" access even though the UI blocks the Public button.
After receiving an error from the backend, any change to the form will wipe the form as an unhandled exception is generated.
Additionally, the thrown exception does not have an error handler as is returning an HTML containing the flask exception's trackeback.
Currently record visibility is not changed when the community is selected in the deposit form. E.g. if a restricted community is selected, the record will still have "public" access even though the UI blocks the
Public
button.After receiving an error from the backend, any change to the form will wipe the form as an unhandled exception is generated.
Additionally, the thrown exception does not have an error handler as is returning an HTML containing the flask exception's trackeback.