Bug 1335502 - Exception while importing template
Summary: Exception while importing template
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.0.0-beta
: 4.0.0
Assignee: Tal Nisan
QA Contact: Kevin Alon Goldblatt
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-12 10:47 UTC by Sandro Bonazzola
Modified: 2016-08-01 12:26 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-01 12:26:31 UTC
oVirt Team: Storage
rule-engine: ovirt-4.0.0+
rule-engine: planning_ack+
tnisan: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 57447 0 master MERGED webadmin: Fix ClassCastException when importing template 2016-05-18 16:24:19 UTC

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!


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