Bug 29703 - Bei Browser-seitigen Timeouts im LongPolling-Modus wird kein Fehler-Handler aufgerufen
Bei Browser-seitigen Timeouts im LongPolling-Modus wird kein Fehler-Handler a...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 3.0
Other Linux
: P2 normal (vote)
: UCS 3.1
Assigned To: Alexander Kläser
Florian Best
: interim-4
: 29719 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-10 17:20 CET by Alexander Kläser
Modified: 2012-12-12 21:10 CET (History)
1 user (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): Troubleshooting
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 2012-12-10 17:20:33 CET
Siehe dazu auch Bug 29659.
Comment 1 Alexander Kläser univentionstaff 2012-12-10 17:21:30 CET
Zum Reproduzieren kann während des System-Setups bspw. im gateway-Skript ein ifdown mit einem nachfolgenden Sleep von 2min (oder länger) eingebaut werden.
Comment 2 Alexander Kläser univentionstaff 2012-12-10 17:23:15 CET
Ggf. ein Dojo-Bug? Auch folgenden Hinweis berücksichtigen:

> http://grokbase.com/t/dojo/dojo-interest/12as2paq8e/timeout-in-dojo-request-xhr-property-not-working-dojo-version-1-8
Comment 3 Florian Best univentionstaff 2012-12-11 09:59:35 CET
*** Bug 29719 has been marked as a duplicate of this bug. ***
Comment 4 Alexander Kläser univentionstaff 2012-12-11 11:21:59 CET
Das Problem scheint folgender Mozilla-Bug zu sein:

  https://bugzilla.mozilla.org/show_bug.cgi?id=301705

In einer aktuellen FF-Version tritt das Problem nicht mehr auf. Der Fehler geschieht in umc/tools::parseError(), beim Zugriff auf error.response.xhr.status wird eine Exception geworfen, auch wenn ("status" in error.response.xhr) == true ist. Das Problem wird jetzt mit einer try-catch-Anweisung umgangen.


 univention-management-console-frontend (2.0.179-1) unstable; urgency=low
 .
   * added workaround for Firefox error in umc/tools::parseError(); Bug #29703
Comment 5 Florian Best univentionstaff 2012-12-11 12:30:20 CET
(In reply to comment #4)
> Das Problem scheint folgender Mozilla-Bug zu sein:
> 
>   https://bugzilla.mozilla.org/show_bug.cgi?id=301705
> 
> In einer aktuellen FF-Version tritt das Problem nicht mehr auf. Der Fehler
> geschieht in umc/tools::parseError(), beim Zugriff auf
> error.response.xhr.status wird eine Exception geworfen, auch wenn ("status" in
> error.response.xhr) == true ist. Das Problem wird jetzt mit einer
> try-catch-Anweisung umgangen.
> 
> 
>  univention-management-console-frontend (2.0.179-1) unstable; urgency=low
>  .
>    * added workaround for Firefox error in umc/tools::parseError(); Bug #29703
Ja, das funktioniert.
Comment 6 Stefan Gohmann univentionstaff 2012-12-12 21:10:01 CET
UCS 3.1-0 has been released: 
 http://forum.univention.de/viewtopic.php?f=54&t=2125

If this error occurs again, please use "Clone This Bug".