openequella / openEQUELLA

Core openEQUELLA sources
https://openequella.github.io/
Apache License 2.0
42 stars 44 forks source link

New search UI doesn't have error handling in Selection Session #2725

Closed PenghaiZhang closed 3 years ago

PenghaiZhang commented 3 years ago

Describe the bug In the context of Selection Session, new search UI does not have any real error handling due to the implementation of updateTemplate being a nop. More details can be found in App.tsx,

To Reproduce Steps to reproduce the behavior:

  1. Open new search UI in Selection Session
  2. Manually throw an error
  3. Nothing is given to indicate an error has happened.

Expected behavior An indicator like a SnackBar should pop up to let users know what error just happened.

Screenshots N/A

Stacktrace N/A

Platform:

Additional context N/A

snehanaik22 commented 3 years ago

Tested.