Bug 1330502 - [Ansible Tower] URL cannot be saved after editing
Summary: [Ansible Tower] URL cannot be saved after editing
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.6.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.6.0
Assignee: Brandon Dunne
QA Contact: Pavol Kotvan
URL:
Whiteboard: ui:tower
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-26 11:24 UTC by Pavol Kotvan
Modified: 2016-06-29 15:54 UTC (History)
8 users (show)

Fixed In Version: 5.6.0.6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-29 15:54:46 UTC
Category: Bug
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:1348 0 normal SHIPPED_LIVE CFME 5.6.0 bug fixes and enhancement update 2016-06-29 18:50:04 UTC

Comment 2 Milan Zázrivec 2016-05-02 14:02:53 UTC
Brandon, it seems that when we do

@provider_cfgmgmt.update_attributes(
  :name       => params[:name],
  :url        => params[:url],
  :verify_ssl => params[:verify_ssl].eql?("on")
)

in ProviderForemanController, the underlying logic only updates the provider name,
but not the url.

Please, feel free to reassign as you see fit.

Thanks!

Comment 4 CFME Bot 2016-05-04 01:05:51 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/97b0aa41006b78b09d0956f240f14f63cdcfa2a5

commit 97b0aa41006b78b09d0956f240f14f63cdcfa2a5
Author:     Brandon Dunne <bdunne>
AuthorDate: Mon May 2 18:03:52 2016 -0400
Commit:     Brandon Dunne <bdunne>
CommitDate: Tue May 3 13:52:28 2016 -0400

    Fix test failures for Provider#update_attributes on url and verify_ssl
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1330502

 app/models/manageiq/providers/ansible_tower/provider.rb | 2 +-
 app/models/provider.rb                                  | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

Comment 5 CFME Bot 2016-05-04 01:05:56 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/f3e1f9e8ce66b7189a85dbda00f0c99b67708903

commit f3e1f9e8ce66b7189a85dbda00f0c99b67708903
Author:     Brandon Dunne <bdunne>
AuthorDate: Mon May 2 18:04:11 2016 -0400
Commit:     Brandon Dunne <bdunne>
CommitDate: Tue May 3 13:52:28 2016 -0400

    Add tests for Provider#update_attributes for url and verify_ssl
    
    They don't work properly right now
    https://bugzilla.redhat.com/show_bug.cgi?id=1330502

 spec/models/manageiq/providers/ansible_tower/provider_spec.rb | 6 ++++++
 spec/models/provider_spec.rb                                  | 8 ++++++++
 2 files changed, 14 insertions(+)

Comment 9 errata-xmlrpc 2016-06-29 15:54:46 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/RHBA-2016:1348


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