Bug 51719 - Make error output of 404 dialogs configurable via UCR
Make error output of 404 dialogs configurable via UCR
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 4.4-5-errata
Assigned To: Florian Best
Johannes Keiser
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-07-23 11:00 CEST by Johannes Keiser
Modified: 2020-07-29 16:50 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Feature Request
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number: 2020061521000474
Bug group (optional):
Max CVSS v3 score:


Attachments
Alternative Patch (2.51 KB, patch)
2020-07-27 13:05 CEST, Florian Best
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Keiser univentionstaff 2020-07-23 11:00:12 CEST
Make a simplified version of the 404 error dialog without the "Inform Vendor" buttons activatable via UCR.
Comment 1 Johannes Keiser univentionstaff 2020-07-23 14:00:16 CEST
99ac401884 Bug #51719: yaml
6d76c07d0f Bug #51719: yaml
a291afc421 Bug #51719: debian changelog
6137cf8030 Bug #51719: make a simplified 404 error page activatable via UCR

Successful build
Package: univention-management-console
Version: 11.0.4-92A~4.4.0.202007231346
Branch: ucs_4.4-0
Scope: errata4.4-5
Comment 2 Florian Best univentionstaff 2020-07-26 20:09:34 CEST
Why does it needs to be configurable via UCR? Why shouldn't we just deactivate this completely for the 404 errors from the UMC-Webserver?
Comment 3 Florian Best univentionstaff 2020-07-27 13:05:50 CEST
Created attachment 10440 [details]
Alternative Patch

I am suggesting this patch instead.
Comment 4 Florian Best univentionstaff 2020-07-27 14:17:53 CEST
Applied modified patch in:

univention-web (3.0.5-37)
f385de1d5912 | Bug #51719: fix displaying of errors in static HTML pages

univention-management-console (11.0.4-93)
f385de1d5912 | Bug #51719: fix displaying of errors in static HTML pages
93ebe8684e40 | Revert "Bug #51719: make a simplified 404 error page activatable via UCR"

univention-management-console.yaml
9e37d7fba586 | YAML Bug #51719

univention-web.yaml
9e37d7fba586 | YAML Bug #51719


→ This uses the generic error handling for all errors coming from error.html (e.g. accessing /univention/get/session-info, /univention/auth,
Comment 5 Johannes Keiser univentionstaff 2020-07-29 13:05:04 CEST
6be1511080 YAML Bug #51719                                                                                                                                                                                                                   
48ff0cd79a Bug #51719: ensure deferred is rejected on next alert() (apply feedback from QA)

OK: error handling
OK: 404
OK: changes to univention-web
OK: yaml
-> verified