Bug 809821
Summary: | [UserPortal-gwtp] VM can not start after set its snapshot to "preview" mode | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] oVirt | Reporter: | Avihai Shoham <ashoham> | ||||||
Component: | ovirt-engine-userportal | Assignee: | Tomas Jelinek <tjelinek> | ||||||
Status: | CLOSED WORKSFORME | QA Contact: | |||||||
Severity: | urgent | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | unspecified | CC: | acathrow, ashoham, dyasny, iheim, mgoldboi, ykaul | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | virt | ||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-05-09 11:47:15 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
it occurs in the new userportal (userportal-gwtp) Created attachment 575135 [details]
NullPointerException description
the problem with this bug , is that it will breed NullPointerException when a user will run VM. see attachment 575135 [details]
to fix this issue we need to resolve the round brackets which added to VM name. Steps to Reproduce: 1.login to userportal 2.have a VM with snapshots 3. choose snapshot and set it to preview mode (you will see that brackets were added to VM name) 4.RunOnce VM There is a possibility that there are two separate problems here, not sure if/how much they are related: - The brackets should contain the VM description; in case the description of the VM is empty, you shouldn't see brackets at all. Here is seems that the description is empty, yet you are seeing the brackets; maybe the description is null and we are expecting a real string (i.e. empty string or non-empty string) and fail because of that; I assume that this happens only in "preview", when the relevant snapshot's configuration is being "loaded". - When running the VM, there shouldn't be the exception - it seems more like an engine-core bug. Tomas - please consult derez (that implemented the new snapshots view) with regards to this behavior. [derez - you can take a look as well if you are seeing something that doesn't seem right] Currently it works for me - both the rounded brackets are not shown when there is no description and also the machine starts without any problem when the snapshot is in preview mode. Could you please verify if it works also for you, so I can close this bug? I would say it has been fixed with some different patch. |
Created attachment 575123 [details] screenshot Description of problem: when i set one of the snapshot to "preview mode" i saw that round brackets were added to VM name This happen only when using userportal , and it doesn't reproduced in webadmin. How reproducible: Steps to Reproduce: 1.login to userportal 2.have a VM with snapshots 3. choose snapshot and set it to preview mode see attached file