Bug 1451246
| Summary: | changing storage type with Discard After Delete causes UI error | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Lucie Leistnerova <lleistne> | ||||
| Component: | Frontend.WebAdmin | Assignee: | Idan Shaby <ishaby> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Lucie Leistnerova <lleistne> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.2.0 | CC: | amureini, bugs, lsvaty, stirabos | ||||
| Target Milestone: | ovirt-4.1.3 | Flags: | rule-engine:
ovirt-4.1+
lsvaty: testing_ack+ |
||||
| Target Release: | 4.1.3 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-07-06 13:36:13 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: | |||||||
| Attachments: |
|
||||||
|
Description
Lucie Leistnerova
2017-05-16 08:29:02 UTC
Created attachment 1279231 [details]
ui_log
Stack:
2017-05-16 10:16:48,242+02 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-13) [] Uncaught exception: com.google.gwt.event.shared.UmbrellaException: Exception caught: undefined
at java.lang.Throwable.Throwable(Throwable.java:70) [rt.jar:1.8.0_131]
at java.lang.RuntimeException.RuntimeException(RuntimeException.java:32) [rt.jar:1.8.0_131]
at com.google.web.bindery.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:64) [gwt-servlet.jar:]
at com.google.gwt.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:25) [gwt-servlet.jar:]
at com.google.gwt.event.shared.HandlerManager.$fireEvent(HandlerManager.java:117) [gwt-servlet.jar:]
at com.google.gwt.user.client.ui.Widget.$fireEvent(Widget.java:127) [gwt-servlet.jar:]
at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:127) [gwt-servlet.jar:]
at com.google.gwt.event.logical.shared.ValueChangeEvent.fire(ValueChangeEvent.java:40) [gwt-servlet.jar:]
at org.ovirt.engine.ui.common.widget.editor.ListModelListBox.$lambda$2(ListModelListBox.java:251)
at org.ovirt.engine.ui.common.widget.editor.ListModelListBox$lambda$2$Type.execute(ListModelListBox.java:251)
at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:167) [gwt-servlet.jar:]
at com.google.gwt.core.client.impl.SchedulerImpl.$flushPostEventPumpCommands(SchedulerImpl.java:338) [gwt-servlet.jar:]
at com.google.gwt.core.client.impl.SchedulerImpl$Flusher.execute(SchedulerImpl.java:76) [gwt-servlet.jar:]
at com.google.gwt.core.client.impl.SchedulerImpl.execute(SchedulerImpl.java:140) [gwt-servlet.jar:]
at com.google.gwt.core.client.impl.Impl.apply(Impl.java:236) [gwt-servlet.jar:]
at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:275) [gwt-servlet.jar:]
at Unknown.Du/<(https://host1.obfuscateddomain0.com/ovirt-engine/webadmin/?locale=en_US#storage-images)
at Unknown.d(https://host1.obfuscateddomain0.com/ovirt-engine/webadmin/?locale=en_US#storage-images)
at Unknown.anonymous(Unknown)
Caused by: java.lang.ClassCastException
at java.lang.Throwable.Throwable(Throwable.java:59) [rt.jar:1.8.0_131]
at java.lang.Exception.Exception(Exception.java:25) [rt.jar:1.8.0_131]
at java.lang.RuntimeException.RuntimeException(RuntimeException.java:25) [rt.jar:1.8.0_131]
at java.lang.ClassCastException.ClassCastException(ClassCastException.java:23) [rt.jar:1.8.0_131]
at javaemul.internal.InternalPreconditions.checkCriticalType(InternalPreconditions.java:139) [gwt-servlet.jar:]
at com.google.gwt.lang.Cast.castTo(Cast.java:74)
at org.ovirt.engine.ui.uicommonweb.models.storage.StorageModel.eventRaised(StorageModel.java:293)
at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
at org.ovirt.engine.ui.uicommonweb.models.EntityModel.$setEntity(EntityModel.java:35)
at org.ovirt.engine.ui.uicommonweb.models.storage.StorageModel.$updateDiscardAfterDelete(StorageModel.java:623)
at org.ovirt.engine.ui.uicommonweb.models.storage.StorageModel.$storageType_SelectedItemChanged(StorageModel.java:335)
at org.ovirt.engine.ui.uicommonweb.models.storage.StorageModel.eventRaised(StorageModel.java:293)
at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:99)
at org.ovirt.engine.ui.uicommonweb.models.ListModel.$setSelectedItem(ListModel.java:81)
at org.ovirt.engine.ui.webadmin.section.main.view.popup.storage.StoragePopupView_availableStorageTypeItems_selectedItem_Context.$setInModel(StoragePopupView_availableStorageTypeItems_selectedItem_Context.java:19)
at org.ovirt.engine.ui.webadmin.section.main.view.popup.storage.StoragePopupView_availableStorageTypeItems_selectedItem_Context.setInModel(StoragePopupView_availableStorageTypeItems_selectedItem_Context.java:19)
at org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor.$setInModel(UiCommonEditorVisitor.java:147)
at org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor.$lambda$0(UiCommonEditorVisitor.java:58)
at org.ovirt.engine.ui.common.editor.UiCommonEditorVisitor$lambda$0$Type.onValueChange(UiCommonEditorVisitor.java:58)
at com.google.gwt.event.logical.shared.ValueChangeEvent.dispatch(ValueChangeEvent.java:127) [gwt-servlet.jar:]
at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:76) [gwt-servlet.jar:]
at com.google.web.bindery.event.shared.SimpleEventBus.$doFire(SimpleEventBus.java:173) [gwt-servlet.jar:]
... 15 more
Lilach/Idan - can you confirm this happens on 4.1.z too? I checked ovirt-engine-4.1 and it happens there. no UI error and checkbox works as expected verified in ovirt-engine-webadmin-portal-4.1.3-0.1.el7.noarch |