[Koha-bugs] [Bug 31138] DataTables is not raising error to the end user
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jul 12 11:45:36 CEST 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31138
Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #137609|0 |1
is obsolete| |
--- Comment #2 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 137615
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=137615&action=edit
Bug 31138: Don't ignore DataTables errors and raise them to the end-user
DataTables is not raising error to the end user, it's only displaying a generic
message in the console.
This leads to lot of questions on IRC or the mailing list ("the table is
empty").
We can do better and display what went wrong.
We could also imagine add a link to the wiki for the more common problems
(won't be implemented here however).
Test plan:
Revert "Bug 31104: Put each link on a separate header" and search for a
patron using a very long string
You should get an alert with the reponse of the server.
In my case:
"""
Something went wrong when loading the table.
414: Request-URI Too Long
"""
You can also make the REST API returns a 500 (bad specs or simply with a
die statement).
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list