Bug #2628

Dashboard: infinite loop on XHR failure

Added by Davide Principi over 6 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:-
Target version:v6.5-rc1
Security class: Resolution:
Affected version:v6.4-beta2 NEEDINFO:No

Description

The Dashboard shows an error dialog box if the network connection to the remote server fails. When the error occurs further requests are sent repeatedly and fail over and over again, opening new dialog boxes.

To reproduce the problem, unplug the client network cable, for instance.

Associated revisions

Revision 6cf0b24b
Added by Giacomo Sanchietti over 6 years ago

Dashboard: avoid infinite loop on XHR failure. Refs #2628

Revision e9af2641
Added by Giacomo Sanchietti over 6 years ago

Dashboard: call page refreh. Refs #2628

History

#1 Updated by Davide Principi over 6 years ago

  • Affected version changed from v6.4-beta2 to v6.5-beta3

#2 Updated by Davide Principi over 6 years ago

  • Target version set to v6.5-beta3
  • Affected version changed from v6.5-beta3 to v6.4-beta2

#3 Updated by Filippo Carletti over 6 years ago

  • Target version changed from v6.5-beta3 to v6.5-rc1

#4 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from NEW to TRIAGED
  • % Done changed from 0 to 20

#5 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#6 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

Implemented using nethguixreload javascript event.

#7 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
Packages in nethserver-testing:
  • nethserver-base-2.0.0-12.0git0f90fda0.ns6.noarch.rpm
Test case
  • Remove the cable from the virtual machine
  • Check no further requests are sent to the server

#8 Updated by Alessio Fattorini over 6 years ago

  • Assignee set to Alessio Fattorini

#9 Updated by Alessio Fattorini over 6 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Alessio Fattorini)
  • % Done changed from 70 to 90
  • Removed the cable
  • No error on dashboard

VERIFIED

#10 Updated by Davide Principi over 6 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

#11 Updated by Davide Principi over 6 years ago

In nethserver-updates:
nethserver-release-6.5-4.ns6.rc1.noarch.rpm
nethserver-devbox-1.4.0-1.ns6.noarch.rpm
nethserver-backup-data-1.0.9-1.ns6.noarch.rpm
nethserver-base-2.1.0-1.ns6.noarch.rpm
nethserver-directory-2.0.1-1.ns6.noarch.rpm
nethserver-firewall-base-1.1.0-1.ns6.noarch.rpm
nethserver-hosts-1.0.7-1.ns6.noarch.rpm
nethserver-httpd-2.3.0-1.ns6.noarch.rpm
nethserver-httpd-admin-1.2.1-1.ns6.noarch.rpm
nethserver-hylafax-1.0.5-1.ns6.noarch.rpm
nethserver-ibays-2.0.3-1.ns6.noarch.rpm
nethserver-lib-2.0.1-1.ns6.noarch.rpm
nethserver-mail-server-1.6.1-1.ns6.noarch.rpm
nethserver-nethgui-1.4.0-1.ns6.noarch.rpm
nethserver-ntopng-1.1.2-1.ns6.noarch.rpm
nethserver-nut-1.0.7-1.ns6.noarch.rpm
nethserver-openssh-1.0.5-1.ns6.noarch.rpm
nethserver-roundcubemail-0.0.2-1.ns6.noarch.rpm
nethserver-samba-1.4.2-1.ns6.noarch.rpm
nethserver-shorewall-1.0.4-1.ns6.noarch.rpm
nethserver-sogo-thunderbird-1.1.1-1.ns6.noarch.rpm
nethserver-vpn-1.1.2-1.ns6.noarch.rpm
sogo-frontends-1.3.0-1.ns6.noarch.rpm

Also available in: Atom PDF