Bug 1458892 - The credentials for Automate Git Repository wasn't updating the correct authentications type
Summary: The credentials for Automate Git Repository wasn't updating the correct authe...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.8.1
Assignee: mkanoor
QA Contact: Dmitry Misharov
URL:
Whiteboard:
Depends On: 1445522
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-05 18:42 UTC by Satoe Imaishi
Modified: 2022-07-09 08:37 UTC (History)
8 users (show)

Fixed In Version: 5.8.1.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1445522
Environment:
Last Closed: 2017-08-02 17:25:36 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:1758 0 normal SHIPPED_LIVE Important: Red Hat CloudForms security, bug fix, and enhancement update 2017-08-02 21:23:43 UTC

Comment 2 CFME Bot 2017-06-05 18:48:35 UTC
New commit detected on ManageIQ/manageiq-ui-classic/fine:
https://github.com/ManageIQ/manageiq-ui-classic/commit/a9aceee22bf76d324d29b02dc18db6d2597daa23

commit a9aceee22bf76d324d29b02dc18db6d2597daa23
Author:     Martin Povolny <mpovolny>
AuthorDate: Wed Apr 26 08:52:34 2017 +0200
Commit:     Satoe Imaishi <simaishi>
CommitDate: Mon Jun 5 14:43:37 2017 -0400

    Merge pull request #1157 from mkanoor/set_default_type_for_auth
    
    Incorrect authentication_type being used
    (cherry picked from commit 7d6d8c94029f5ac45275559713788e473280be22)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1458892

 app/services/git_repository_service.rb       | 2 +-
 spec/services/git_repository_service_spec.rb | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comment 3 Dmitry Misharov 2017-07-04 09:10:38 UTC
Verified in 5.8.1.0.20170623170756_3ed4411. Verification steps:
1. Run rake command rake evm:automate:import PREVIEW=false GIT_URL=https://github.com/quarckster/SimpleDomain USERID="user" PASSWORD="password"
2. Add a git repository via UI in "Automation"/"Automate"/"Import / Export"
3. In rails console run GitRepository.first.authentications.collect(&:authtype)

Actual result:
["default"] which is expected.

Comment 5 errata-xmlrpc 2017-08-02 17:25:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:1758


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