Bug 1546085 - error in app.js after save action in edit mode of gdeployConfig.conf in gluster based self hosting engine wizard.
Summary: error in app.js after save action in edit mode of gdeployConfig.conf in glust...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: cockpit-ovirt
Classification: oVirt
Component: UI
Version: 0.11.7
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: ovirt-4.2.2
: 0.11.16
Assignee: Parth Dhanjal
QA Contact: Pavol Brilla
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-16 09:52 UTC by Pavel Borecki
Modified: 2018-03-29 11:10 UTC (History)
10 users (show)

Fixed In Version: cockpit-ovirt-0.11.16-1
Clone Of:
Environment:
Last Closed: 2018-03-29 11:10:28 UTC
oVirt Team: Gluster
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1414794 0 high CLOSED [RFE] provide a way for the user to scale and prepare gluster nodes from cockpit UI. 2021-02-22 00:41:40 UTC
oVirt gerrit 88778 0 master MERGED Gluster Management - Bug Fixes 2018-03-12 14:34:29 UTC
oVirt gerrit 88825 0 None None None 2018-03-14 17:31:40 UTC

Internal Links: 1414794

Description Pavel Borecki 2018-02-16 09:52:50 UTC
Description of problem:
Version-Release number of selected component (if applicable):
cockpit-161-1.el7.centos.x86_64

How reproducible:
100%

Steps to Reproduce:
1. follow steps described in bug https://bugzilla.redhat.com/show_bug.cgi?id=1545103

2. after clicking on Save behold in upper right corner red message Ooops!

3. click on Ooops! and get details:

Unexpected error
Cockpit had an unexpected internal error. 

You can try restarting Cockpit by pressing refresh in your browser. The javascript console contains details about this error (Ctrl-Shift-J in most browsers).

4. look in web browser javascript console and se details:

app.js:11 Uncaught TypeError: n is not a function
    at Function.<anonymous> (app.js:11)
    at P (cockpit.js:874)
    at cockpit.js:886
    at j (cockpit.js:803)

This error is even if in gdeployConfig.conf weren't any changes done. Even if changes made, they seems to be saved (gdeploy behaviour influenced as expected with changes)

Actual results:
False error message - save of edit went fine.

Expected results:
No error message

Additional info:

Comment 1 Sahina Bose 2018-03-12 09:20:43 UTC
Fixed as part of patch for another bug

Comment 2 Pavol Brilla 2018-03-21 09:47:41 UTC
No more errors during editing and saving gdeployConfig.conf in wizard

Tested against: 
Installed Packages
cockpit-ovirt-dashboard.noarch             0.11.17-1.el7ev             installed

Comment 3 Sandro Bonazzola 2018-03-29 11:10:28 UTC
This bugzilla is included in oVirt 4.2.2 release, published on March 28th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.2 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.