Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1205697

Summary: Can not assign tag to an entity from UI
Product: Red Hat Enterprise Virtualization Manager Reporter: Eli Mesika <emesika>
Component: ovirt-engineAssignee: Alexander Wels <awels>
Status: CLOSED CURRENTRELEASE QA Contact: Petr Kubica <pkubica>
Severity: high Docs Contact:
Priority: high    
Version: 3.6.0CC: aburden, emesika, gklein, khajna, lsurette, lsvaty, mgoldboi, pspacek, rbalakri, Rhev-m-bugs, royinrolland, srevivo, ykaul
Target Milestone: ovirt-3.6.0-rcKeywords: Regression
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Previously, events were not being properly passed from EntityListModel to the associated EntityModel, causing entity tags to not properly associate with the entity. Now, these events are generated and tags are properly associated with the appropriate entities.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 01:28:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: UX RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1213937, 1201403    

Description Eli Mesika 2015-03-25 13:23:05 UTC
Description of problem:
Can not assign tag to an entity from UI 

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.Create a tag tag1 under Root tag
2.Create a VM named vm1
3.Right-Click->Assign Tags on vm1 and select tag1 + OK
4.Right-Click->Assign Tags on vm1, tag1 is not marked as selected

Actual results:
Assign Tags are not marked as selected from Right-Click->Assign Tags

Expected results:
Assign Tags are not marked as selected from Right-Click->Assign Tags


Additional info:

Scenario was tested and works perfectly from REST API 

When called in debug mode from UI, the call of the attach tag command does not invoked at all , so , UI code probably exists before calling the backend command

Comment 1 Eli Mesika 2015-03-25 13:27:16 UTC
Sorry, 

Expected results:
Assign Tags are marked as selected from Right-Click->Assign Tags

Comment 2 Petr Spacek 2015-03-25 14:49:43 UTC
Oh, okay, I was confused by the previous discussion. I certainly can do if you provide me steps to do that. (Feel free to use Python API if you wish.) Thank you!

Comment 3 Eli Mesika 2015-03-25 15:13:14 UTC
(In reply to Petr Spacek from comment #2)
> Oh, okay, I was confused by the previous discussion. I certainly can do if
> you provide me steps to do that. (Feel free to use Python API if you wish.)
> Thank you!

Posted probably on the wrong BZ , should be on https://bugzilla.redhat.com/show_bug.cgi?id=1205149

Comment 4 Einav Cohen 2015-03-25 17:29:02 UTC
reproducible for all tag-supported object types (users, vms, hosts) on latest master.

Comment 5 Eli Mesika 2015-03-30 08:19:42 UTC
*** Bug 1205149 has been marked as a duplicate of this bug. ***

Comment 6 Oved Ourfali 2015-05-25 08:10:54 UTC
*** Bug 1224201 has been marked as a duplicate of this bug. ***

Comment 7 Einav Cohen 2015-05-28 15:06:06 UTC
I am marking this as a regression, since I assume that assigning tags in the GUI is working properly in 3.5. 
If anyone happens to reproduce the problem on 3.5 - please mention it here and/or flag the BZ for 3.5.z.

Comment 10 Moti Asayag 2015-09-17 12:22:20 UTC
*** Bug 1263633 has been marked as a duplicate of this bug. ***

Comment 11 Petr Kubica 2015-10-01 11:42:30 UTC
Verified in rhevm-webadmin-portal-3.6.0-0.18.el6.noarch