[3.1 29] UI: Configured route tables donot get deleted on the UI

Bug #1619669 reported by Pavana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.1
Fix Committed
High
Siva Bavanasi
R3.2
Fix Committed
High
Siva Bavanasi
Trunk
Fix Committed
High
Siva Bavanasi

Bug Description

1. Go to Configure > Networking > Routing
2. Create a route table and click on refresh to avoid Bug #1619657
3. Select it and click on delete icon and click on confirm to delete

The following is observed -
1. The entry doesn't get deleted
2. An error message - "Error: An unexpected error occurred!" is displayed
3. 500 Internal Server Error is seen on the console
4. 'error: TypeError: Cannot read property 'type' of undefined' is seen in webui logs

09/02/2016 05:50:13 PM - error: TypeError: Cannot read property 'type' of undefined
    at deleteByType (/usr/src/contrail/contrail-web-controller/webroot/config/common/api/configUtil.api.js:123:57)
    at /usr/lib64/node_modules/async/lib/async.js:249:17
    at iterate (/usr/lib64/node_modules/async/lib/async.js:149:13)
    at async.eachSeries (/usr/lib64/node_modules/async/lib/async.js:165:9)
    at _asyncMap (/usr/lib64/node_modules/async/lib/async.js:248:13)
    at Object.mapSeries (/usr/lib64/node_modules/async/lib/async.js:231:23)
    at deleteMultiObjectCB (/usr/src/contrail/contrail-web-controller/webroot/config/common/api/configUtil.api.js:107:15)
    at deleteMultiObject (/usr/src/contrail/contrail-web-controller/webroot/config/common/api/configUtil.api.js:77:5)
    at Object.processPendingReq (/usr/src/contrail/contrail-web-core/src/serverroot/web/core/longPolling.api.js:134:3)
    at configUtilapi_deleteMultiObject (/usr/src/contrail/contrail-web-controller/webroot/config/common/api/url.routes.js:135:26)

Tags: ui
Revision history for this message
Pavana (pavanap) wrote :
information type: Proprietary → Public
Rahul (rahuls)
Changed in juniperopenstack:
assignee: nobody → Siva Bavanasi (kbsiva)
Jeba Paulaiyan (jebap)
Changed in juniperopenstack:
milestone: none → r3.2.0.0-fcs
importance: Undecided → High
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/25806
Submitter: Siva Bavanasi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/25806
Committed: http://github.org/Juniper/contrail-web-controller/commit/4e38e2615f27a2a96d5b22de1e1335516bea47b9
Submitter: Zuul
Branch: master

commit 4e38e2615f27a2a96d5b22de1e1335516bea47b9
Author: Siva Bavanasi <email address hidden>
Date: Tue Nov 8 11:18:04 2016 +0530

Fixed Refresh and delete issues with network route table page

Change-Id: I0cc2c49303d7daefc041e3d4646378bb60fd8d51
Closes-bug: #1619669
Closes-bug: #1619657

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/26024
Submitter: Siva Bavanasi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/26024
Committed: http://github.org/Juniper/contrail-web-controller/commit/f6fc077a8a2dd08f6f713c6fc4cbaafa46c2f5b3
Submitter: Zuul
Branch: R3.2

commit f6fc077a8a2dd08f6f713c6fc4cbaafa46c2f5b3
Author: Siva Bavanasi <email address hidden>
Date: Tue Nov 8 11:18:04 2016 +0530

Fixed Refresh and delete issues with network route table page

Change-Id: I0cc2c49303d7daefc041e3d4646378bb60fd8d51
Closes-bug: #1619669
Closes-bug: #1619657
(cherry picked from commit 4e38e2615f27a2a96d5b22de1e1335516bea47b9)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.1

Review in progress for https://review.opencontrail.org/26193
Submitter: Siva Bavanasi (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/26193
Committed: http://github.org/Juniper/contrail-web-controller/commit/b67ad4e62649d3e0c4cec1babf5134d116448891
Submitter: Zuul
Branch: R3.1

commit b67ad4e62649d3e0c4cec1babf5134d116448891
Author: Siva Bavanasi <email address hidden>
Date: Tue Nov 8 11:18:04 2016 +0530

Fixed Refresh and delete issues with network route table page

Change-Id: I0cc2c49303d7daefc041e3d4646378bb60fd8d51
Closes-bug: #1619669
Closes-bug: #1619657
(cherry picked from commit 4e38e2615f27a2a96d5b22de1e1335516bea47b9)

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.