Bug 33798 - Traceback in feedback mail seems to be limited in its size
Traceback in feedback mail seems to be limited in its size
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 3.2
Other Linux
: P5 normal (vote)
: UCS 3.2-0-errata
Assigned To: Dirk Wiesenthal
Florian Best
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-12-20 14:42 CET by Alexander Kläser
Modified: 2014-01-29 11:21 CET (History)
2 users (show)

See Also:
What kind of report is it?: ---
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:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kläser univentionstaff 2013-12-20 14:42:11 CET
We received a feedback email with a traceback. It seems that the body size is limited (it is currently transmitted via a query string option) as the last (important) bits of the traceback were missing.

We use a form with a mailto:* action, see also:

> http://stackoverflow.com/questions/5857/mailto-link-for-large-bodies
Comment 1 Alexander Kläser univentionstaff 2013-12-20 14:44:25 CET
See Ticket #2013121821001782.
Comment 2 Dirk Wiesenthal univentionstaff 2014-01-20 11:31:39 CET
This seems to be a limitation on the client side (browser, mail user agent). The Ticket already has 1800 characters (note that the stackoverflow answer speaks of getting this amount of characters with <form>).
I tested a 2200+ character traceback with Firefox/Thunderbird: it worked with the current mailto.

Instead of putting it in a form, I reversed the mailto-traceback, so that the interesting _last_ 1800 characters are shown. But first line is the first line of the traceback, so that we get at least "The following command failed".

  univention-management-console-frontend 3.0.152-9.806.201401171712
Comment 3 Florian Best univentionstaff 2014-01-20 16:48:24 CET
As discussed:
* please fix the html encoding
* put the UMC version also on top
Comment 4 Dirk Wiesenthal univentionstaff 2014-01-22 11:19:58 CET
(In reply to Florian Best from comment #3)
> As discussed:
> * please fix the html encoding

This is Bug #31285

> * put the UMC version also on top

Put the version right above the traceback. Changed it from umc-frontend-version to UCS version.

  univention-management-console-frontend 3.0.152-11.808.201401221058
Comment 5 Florian Best univentionstaff 2014-01-22 12:11:33 CET
(In reply to Dirk Wiesenthal from comment #4)
> (In reply to Florian Best from comment #3)
> > As discussed:
> > * please fix the html encoding
> 
> This is Bug #31285
* OK, I attached the patch to fix this there. Tracebacks aren't good readable when they contain quot; instead of ".

> > * put the UMC version also on top
> 
> Put the version right above the traceback. Changed it from
> umc-frontend-version to UCS version.
> 
>   univention-management-console-frontend 3.0.152-11.808.201401221058
* OK
Comment 6 Moritz Muehlenhoff univentionstaff 2014-01-29 11:21:27 CET
http://errata.univention.de/ucs/3.2/42.html