Project

General

Profile

Actions

Bug #11913

closed

javascript error visiting content view filter "affected repositories" page

Added by Thomas McKay over 9 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Content Views
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

TypeError: Cannot read property 'id' of undefined
    at http://katello:3000/assets/bastion_katello/content-views/details/content-view-repositories.service.js?body=1:24:48
                angular.forEach(repositories, function (repository) {
                    products[repository.product.id] = repository.product;
                });

repository = Object {id: 10, name: "Red Hat Subscription Asset Manager for RHEL 6 Server RPMs x86_64 6Server", label: "Red_Hat_Subscription_Asset_Manager_for_RHEL_6_Server_RPMs_x86_64_6Server", content_type: "yum", selected: true}

Other perhaps relevant notes:
+ CV has single repository (SAM x86_64)
+ CV has a single filter for a specific errata (RHSA-2014:1863)
+ CV is unpublished
+ Error appears when toggling to "This filter applies to all repositories in the content view (current and future)."

Actions

Also available in: Atom PDF