Bug 1397413 - Error "[MiqAeException::DirectoryNotFound] Git repo dir" in production log when clicked on submit button without selecting "branch or tag" in Automate import/export.
Summary: Error "[MiqAeException::DirectoryNotFound] Git repo dir" in production log wh...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Automate
Version: 5.7.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.7.0
Assignee: eclarizi
QA Contact: Milan Falešník
URL:
Whiteboard: ui:automate:git
Depends On: 1386296
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-22 13:33 UTC by Satoe Imaishi
Modified: 2017-01-04 13:16 UTC (History)
10 users (show)

Fixed In Version: 5.7.0.12
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1386296
Environment:
Last Closed: 2017-01-04 13:16:56 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0012 0 normal SHIPPED_LIVE CFME 5.7.0 bug fixes and enhancement update 2017-01-04 17:50:36 UTC

Comment 2 CFME Bot 2016-11-22 15:06:25 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/d438e4cc51f85d5524b149161250bcc87d271340

commit d438e4cc51f85d5524b149161250bcc87d271340
Author:     Greg McCullough <gmccullo>
AuthorDate: Mon Nov 21 19:50:04 2016 -0500
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Tue Nov 22 10:04:31 2016 -0500

    Merge pull request #12753 from eclarizio/BZ1386296
    
    Only enable git import submit button when a branch or tag is selected
    (cherry picked from commit c39a7200ad4402f3929488cef9ce6aa530c2f54e)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1397413

 app/assets/javascripts/automate_import_export.js | 29 +++++++--
 app/views/miq_ae_tools/_import_export.html.haml  |  4 +-
 spec/javascripts/automate_import_export_spec.js  | 77 ++++++++++++++++++++++++
 3 files changed, 104 insertions(+), 6 deletions(-)

Comment 3 Milan Falešník 2016-12-09 10:04:16 UTC
Verified in 5.7.0.14.

When you get to the screen with branch/tag selection, the master branch is pre-selected and you cannot select "no branch" in there.

If you go to Tags and the repo has no tags and the dropdown tells you "Nothing selected", the submit button is disabled.

Comment 5 errata-xmlrpc 2017-01-04 13:16:56 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://rhn.redhat.com/errata/RHBA-2017-0012.html


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