Project

General

Profile

Bug #14217

auto-attach on a content host throws js error

Added by Thomas McKay over 6 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

TypeError: Cannot read property 'host' of undefined
    at Scope.$scope.autoAttachSubscriptions (content-host-base-subscriptions.controller.self.js?body=1:37)

Clicking auto-attach on a content host subscriptions UI page is incorrectly referencing host


        $scope.autoAttachSubscriptions = function () {
            $scope.subscription.workingMode = true;
            HostSubscription.autoAttach({id: $scope.contentHost.host.id}, success, failure);
        };

Associated revisions

Revision 999296d9 (diff)
Added by Eric Helms about 6 years ago

Fixes #14217: Reference host object for subscriptions auto-attach (#5975)

History

#1 Updated by Thomas McKay over 6 years ago

  • Bugzilla link set to 1318026

#2 Updated by Thomas McKay about 6 years ago

#3 Updated by Eric Helms about 6 years ago

  • Legacy Backlogs Release (now unused) set to 86

#4 Updated by The Foreman Bot about 6 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Eric Helms
  • Pull request https://github.com/Katello/katello/pull/5975 added

#5 Updated by Anonymous about 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#6 Updated by Thomas McKay about 6 years ago

  • Blocks deleted (Bug #12533: Subscriptions Tracker)

Also available in: Atom PDF