Bug 1335502

Summary: Exception while importing template
Product: [oVirt] ovirt-engine Reporter: Sandro Bonazzola <sbonazzo>
Component: BLL.StorageAssignee: Tal Nisan <tnisan>
Status: CLOSED CURRENTRELEASE QA Contact: Kevin Alon Goldblatt <kgoldbla>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.0.0CC: acanan, amureini, bugs, michal.skrivanek, sbonazzo, tnisan
Target Milestone: ovirt-4.0.0-betaFlags: rule-engine: ovirt-4.0.0+
rule-engine: planning_ack+
tnisan: devel_ack+
rule-engine: testing_ack+
Target Release: 4.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-01 12:26:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sandro Bonazzola 2016-05-12 10:47:58 UTC
webadmin-0.js:15334 Thu May 12 12:45:27 GMT+200 2016 remote
SEVERE: Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: undefined
	at Unknown.Ys(webadmin-0.js@25223)
	at Unknown.et(webadmin-0.js@41)
	at Unknown._4(webadmin-0.js@19)
	at Unknown.c5(webadmin-0.js@19)
	at Unknown.m4(webadmin-0.js@117)
	at Unknown.quf(webadmin-150.js@41)
	at Unknown.Cuf(webadmin-150.js@162)
	at Unknown.Fuf(webadmin-150.js@120662)
	at Unknown.uuf(webadmin-150.js@120540)
	at Unknown.Xv(webadmin-0.js@102)
	at Unknown.Nv(webadmin-0.js@59)
	at Unknown.pv(webadmin-0.js@19)
	at Unknown.ov(webadmin-0.js@177)
	at Unknown.eval(webadmin-0.js@54)
Caused by: java.lang.ClassCastException
	at Unknown.Ys(webadmin-0.js@25223)
	at Unknown.at(webadmin-0.js@20)
	at Unknown.ct(webadmin-0.js@18)
	at Unknown.iHf(webadmin-0.js@19)
	at Unknown.scb(webadmin-0.js@48)
	at Unknown.aTq(webadmin-0.js@25)
	at Unknown.dTq(webadmin-0.js@23500)
	at Unknown.Wqo(webadmin-0.js@65)
	at Unknown.jro(webadmin-0.js@24462)
	at Unknown.Nto(webadmin-0.js@302)
	at Unknown.Tto(webadmin-0.js@26414)
	at Unknown.Rro(webadmin-0.js@70)
	at Unknown.Xso(webadmin-0.js@29)
	at Unknown.LRq(webadmin-0.js@20504)
	at Unknown.XAl(webadmin-150.js@213225)
	at Unknown.puf(webadmin-150.js@120401)
	at Unknown.W_(webadmin-0.js@5210)
	at Unknown.w4(webadmin-0.js@209)
	at Unknown.m4(webadmin-0.js@59)
	at Unknown.quf(webadmin-150.js@41)
	at Unknown.Cuf(webadmin-150.js@162)
	at Unknown.Fuf(webadmin-150.js@120662)
	at Unknown.uuf(webadmin-150.js@120540)
	at Unknown.Xv(webadmin-0.js@102)
	at Unknown.Nv(webadmin-0.js@59)
	at Unknown.pv(webadmin-0.js@19)
	at Unknown.ov(webadmin-0.js@177)
	at Unknown.eval(webadmin-0.js@54)
kCe @ webadmin-0.js:15334
webadmin-0.js:15334 Thu May 12 12:45:27 GMT+200 2016 org.ovirt.engine.ui.uicompat.EnumTranslator
WARNING: trying to localize null, probable error. Exception is not thrown, returning 'N/A'
webadmin-0.js:14683 GET https://ovirt.home/ovirt-engine/services/reports-interface-proxy?command=status 404 (Not Found)


100% reproducible by:
importing manageiq ova with ovirt-image-uploader in an export domain
try to import the template
try to check the clone checkbox

Comment 1 Michal Skrivanek 2016-05-13 08:13:24 UTC
For any front end exception please follow http://www.ovirt.org/uncategorized/engine-debug-obfuscated-ui/ to deobfuscate yourself and provide more detailed information about version and browser

Comment 2 Tal Nisan 2016-05-14 21:18:44 UTC
A more simple way to reproduce:
Export a template to an export domain
Go to the "Import Template" subtab of the export domain and select the template
Click on "Import" and click on the template, the detail subtabs will be revealed and the exception mentioned will be thrown

Comment 3 Red Hat Bugzilla Rules Engine 2016-05-14 21:18:50 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 4 Kevin Alon Goldblatt 2016-07-26 15:49:47 UTC
Tested with the following code:
-------------------------------------
rhevm-4.0.2-0.1.rc.el7ev.noarch
vdsm-4.18.8-1.el7ev.x86_64

Verified with the following scenario:
-------------------------------------
Steps to reproduce:
1. Export a template to an export domain
2. Go to the "Import Template" subtab of the export domain and select the template
3. Click on "Import" and click on the template, the detail subtabs will be revealed and the exception mentioned is NO LONGER THROWN


Actual results:
The exception is no longer thrown.


Moving to VERIFIED!