| Summary: | auto-attach on a content host throws js error | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Tom McKay <tomckay> |
| Component: | WebUI | Assignee: | Eric Helms <ehelms> |
| Status: | CLOSED ERRATA | QA Contact: | Roman Plevka <rplevka> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2.0 | CC: | bbuckingham, cwelton, pghadge, qianzhan, rplevka |
| Target Milestone: | Unspecified | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://projects.theforeman.org/issues/14217 | ||
| Whiteboard: | |||
| Fixed In Version: | rubygem-katello-3.0.0.53-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-27 11:26:34 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Created from redmine issue http://projects.theforeman.org/issues/14217 Upstream bug assigned to ehelms Moving to POST since upstream bug http://projects.theforeman.org/issues/14217 has been closed *** Bug 1335068 has been marked as a duplicate of this bug. *** VERIFIED on sat6.2.0 ga18.1 The error is gone, auto attach works. One of my customer faced the same issue on latest "Chrome - 51.0.2704.103 m". Steps to Reproduce: 1. Register the system against satellite in CLI. 2. Login satellite web UI and auto attach the system: Hosts -> Content Hosts-> Select the system -> Subscriptions -> Subscriptions -> click 'Run Auto-Attach' button. 3. Wait 10 minutes and check the consumed subscriptions: 1)The status of web UI is not change. 2)no consumed subscriptions are listed in CLI. 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:1501 |
<pre> TypeError: Cannot read property 'host' of undefined at Scope.$scope.autoAttachSubscriptions (content-host-base-subscriptions.controller.self.js?body=1:37) </pre> Clicking auto-attach on a content host subscriptions UI page is incorrectly referencing host <pre> $scope.autoAttachSubscriptions = function () { $scope.subscription.workingMode = true; HostSubscription.autoAttach({id: $scope.contentHost.host.id}, success, failure); }; </pre>