Bug 1462993

Summary: When importing multiple domains via git, the "Branch/Tag" field doesn't visually reset to the default value but utilizes the default value.
Product: Red Hat CloudForms Management Engine Reporter: Curtis Matthews <cmatthew>
Component: UI - OPSAssignee: Patrik Kománek <pkomanek>
Status: CLOSED CURRENTRELEASE QA Contact: Dmitry Misharov <dmisharo>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: gmccullo, hkataria, jhardy, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: git
Fixed In Version: 5.9.0.15 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-06 15:10:18 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:

Description Curtis Matthews 2017-06-19 20:05:51 UTC
Description of problem:  When importing multiple domains via git, the "Branch/Tag" field doesn't visually reset to the default value but utilizes the default value.  During the import of the first domain via git, Tag was selected with an appropriate tag.  Upon importing the second domain via git, Tag was still visually chosen with the same tag but upon submitting, the domain was added with Branch master.


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


How reproducible:  Every time.


Steps to Reproduce:
1.  Add a git domain and choose tag.
2.  Add another git domain and Tag will still appear chosen.
3.  View added domains in explorer and second domain added was added with branch/master.

Actual results:  UI displays results of last submission but utilizes default values.


Expected results:  UI displays values being utilized.


Additional info:

Comment 2 Greg McCullough 2017-06-19 20:40:55 UTC
Patrik - Can you take a look at this issue.  ErikC would be able to help on the UI side and Madhu can help on the backend if needed.

Comment 3 Patrik Kománek 2018-01-17 13:35:44 UTC
It is no more allowed to import multiple domains from a single git repository.

BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1497570
PR: https://github.com/ManageIQ/manageiq-automation_engine/pull/124

Comment 4 Milan Falešník 2018-02-05 10:56:59 UTC
I have verified the mentioned BZ for 5.9.0.19 and this is no longer possible.