Bug 1378554

Summary: Validation fails for previously saved replication subscriptions
Product: Red Hat CloudForms Management Engine Reporter: Alex Newman <anewman>
Component: ReplicationAssignee: Yuri Rudman <yrudman>
Status: CLOSED ERRATA QA Contact: Alex Newman <anewman>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.6.0CC: cpelland, jhardy, mfeifer, ncarboni, obarenbo, simaishi, ssainkar, yrudman
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui distributed
Fixed In Version: 5.6.3.0 Doc Type: Bug Fix
Doc Text:
In the previous version of CloudForms, subscription validation failed for replication subscriptions which were successfully saved. This was because the validation was done directly by the UI which did not have access to passwords of currently saved subscriptions. The validation would pass when the user enters the password when initially saving the subscription, but failed once the subscription needed to be retrieved from the database. This update has fixed the failing validation on saved replication subscriptions.
Story Points: ---
Clone Of: 1334951 Environment:
Last Closed: 2016-11-30 19:54:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On: 1334951    
Bug Blocks:    

Comment 3 CFME Bot 2016-10-07 18:16:16 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/6a93d2ea8ef91165657c954d44b532baa61d7713

commit 6a93d2ea8ef91165657c954d44b532baa61d7713
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Fri Aug 26 15:47:25 2016 -0400
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Fri Oct 7 14:14:16 2016 -0400

    Merge pull request #10711 from yrudman/fixed-error-on-validation-for-saved-replication-subscription
    
    Fixed failing validation on saved replication subscriptions.
    (cherry picked from commit a988ed1dd91e1ac8c8f765cf5739e7d4f19ad8d5)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1378554

 .../ops/pglogical_replication_form_controller.js   |  3 +-
 app/controllers/ops_controller/settings/common.rb  | 44 ++++++++++++++--------
 app/models/pglogical_subscription.rb               | 10 +++++
 spec/models/pglogical_subscription_spec.rb         | 17 +++++++++
 4 files changed, 58 insertions(+), 16 deletions(-)

Comment 5 errata-xmlrpc 2016-11-30 19:54:42 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/RHSA-2016-2839.html