Errors when clicking away from a loading screen (Network or Settings)

Bug #1394981 reported by Przemyslaw Kaminski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
Medium
Vitaly Kramskikh

Bug Description

To make it easier to reproduce, turn off 'cacheFor' in models.js line 553 (NetworkConfiguration model).

Go to Network tab, progress bar should appear, quickly click away to other tab (while the progress bar is present):

Uncaught TypeError: Cannot read property 'toJSON' of undefined

Similar thing happens on Settings tab: after clicking away a popup appears that you have modified the settings while nothing really was touched.

I don't know a way to reliably reproduce it with cacheFor turned on.

Tags: ui
Changed in fuel:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

Fix proposed to branch: master
Review: https://review.openstack.org/138725

Changed in fuel:
assignee: Fuel UI Team (fuel-ui) → Julia Aranovich (jkirnosova)
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/138725
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=ceb43562c11ce3473fcfae6d930732de7005043d
Submitter: Jenkins
Branch: master

commit ceb43562c11ce3473fcfae6d930732de7005043d
Author: Julia Aranovich <email address hidden>
Date: Wed Dec 3 15:46:06 2014 +0300

    Fixes Settings tab hasChanges method

    Partial-Bug: #1394981

    Change-Id: Ic627c710fbfc762947374812491dd2f878edcf98

Revision history for this message
Julia Aranovich (jkirnosova) wrote :

This issue still need a fix on Network tab.

Changed in fuel:
assignee: Julia Aranovich (jkirnosova) → Alexandra Morozova (astepanchuk)
Changed in fuel:
assignee: Alexandra Morozova (astepanchuk) → Vitaly Kramskikh (vkramskikh)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/127287
Committed: https://git.openstack.org/cgit/stackforge/fuel-web/commit/?id=791f459fa431d2a7e8aafe458f7e317a3c6f3591
Submitter: Jenkins
Branch: master

commit 791f459fa431d2a7e8aafe458f7e317a3c6f3591
Author: Alexandra Morozova <email address hidden>
Date: Wed Oct 8 18:21:34 2014 +0200

    [React] Network tab to React

    - total refactoring performed, new tab architecture introduced
    - functional tests rewritten and some removed due to casper bugs
    - bug left with network tasks removal - will be fixed when API changes

    Closes-bug: #1394981
    Closes-bug: #1413913
    Closes-bug: #1415083
    Closes-bug: #1415875
    Closes-bug: #1415884

    Related to blueprint backbone-to-react

    Change-Id: Icd4f90b6b19ec58bdff897565a267cd365f7c12c

Changed in fuel:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.