Project

General

Profile

Bug #20789

Errata content host apply confirm button has no effect

Added by Brad Buckingham almost 5 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Errata Management
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1485236

Description of problem:
Errata content host apply confirm button has no effect

Version-Release number of selected component (if applicable):
  • candlepin-2.0.40-1.el7.noarch
  • candlepin-selinux-2.0.40-1.el7.noarch
  • foreman-1.15.3-1.el7sat.noarch
  • foreman-cli-1.15.3-1.el7sat.noarch
  • foreman-compute-1.15.3-1.el7sat.noarch
  • foreman-debug-1.15.3-1.el7sat.noarch
  • foreman-discovery-image-3.1.1-22.el7sat.noarch
  • foreman-ec2-1.15.3-1.el7sat.noarch
  • foreman-gce-1.15.3-1.el7sat.noarch
  • foreman-installer-1.15.2-1.el7sat.noarch
  • foreman-installer-katello-3.4.4-1.el7sat.noarch
  • foreman-libvirt-1.15.3-1.el7sat.noarch
  • foreman-openstack-1.15.3-1.el7sat.noarch
  • foreman-ovirt-1.15.3-1.el7sat.noarch
  • foreman-postgresql-1.15.3-1.el7sat.noarch
  • foreman-proxy-1.15.3-1.el7sat.noarch
  • foreman-rackspace-1.15.3-1.el7sat.noarch
  • foreman-selinux-1.15.3-1.el7sat.noarch
  • foreman-vmware-1.15.3-1.el7sat.noarch
  • katello-3.4.4-2.el7sat.noarch
  • katello-ca-consumer-sat-r220-02.lab.eng.rdu2.redhat.com-1.0-4.noarch
  • katello-certs-tools-2.4.0-1.el7sat.noarch
  • katello-client-bootstrap-1.4.0-1.el7sat.noarch
  • katello-common-3.4.4-2.el7sat.noarch
  • katello-debug-3.4.4-2.el7sat.noarch
  • katello-default-ca-1.0-1.noarch
  • katello-installer-base-3.4.4-1.el7sat.noarch
  • katello-selinux-3.0.2-1.el7sat.noarch
  • katello-server-ca-1.0-1.noarch
  • katello-service-3.4.4-2.el7sat.noarch
  • openldap-2.4.44-5.el7.x86_64
  • pulp-client-1.0-1.noarch
  • pulp-docker-plugins-2.4.0-2.el7sat.noarch
  • pulp-katello-1.0.2-1.el7sat.noarch
  • pulp-ostree-plugins-1.2.1-3.el7sat.noarch
  • pulp-puppet-plugins-2.13.3-1.el7sat.noarch
  • pulp-puppet-tools-2.13.3-1.el7sat.noarch
  • pulp-rpm-plugins-2.13.3-1.el7sat.noarch
  • pulp-selinux-2.13.3-1.el7sat.noarch
  • pulp-server-2.13.3-1.el7sat.noarch
  • python-ldap-2.4.15-2.el7.x86_64
  • tfm-rubygem-ldap_fluff-0.4.6-1.el7sat.noarch
  • tfm-rubygem-net-ldap-0.15.0-1.el7sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. Prepare a content view with product repository that contain a package to be installed and that have existing errata in that repository.
Prepare a host
Register the host to activation key that is linked with the content view
At the host install the package that has an existing errata
2. Goto Content > Errata
3. Select the required errata and press [Apply Errata] button
After this step we will be redirected to The errata details page
4. Select Content host tab and select the content host and press [Apply to hosts]
After this step a dialog confirmation form appear to Confirm or cancel
5. Press Confirm

Actual results:
Nothing happen , The dialog form does not disappear and the installation process does not start, at
When inspecting the page we can read The Error in the console

TypeError: Cannot read property "length" of undefined

Expected results:
The errata installation task process must start.
Errata installation task process status must be displayed.

Associated revisions

Revision 0c6a18c5 (diff)
Added by Dan Seethaler almost 5 years ago

Fixes #20789: Errata content host apply confirm button broken
The code was looking at an incorrect value to determine how to apply the
errata. It's now doing an async request before applying the errata or
doing an incremental update.

http://projects.theforeman.org/issues/20789

History

#1 Updated by Brad Buckingham almost 5 years ago

  • Subject changed from Errata content host apply confirm button has no effect to Errata content host apply confirm button has no effect
  • Target version set to 213

#2 Updated by John Mitsch almost 5 years ago

  • Legacy Backlogs Release (now unused) set to 295

#3 Updated by Dan Seethaler almost 5 years ago

  • Assignee set to Dan Seethaler

#4 Updated by The Foreman Bot almost 5 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6943 added

#5 Updated by Anonymous almost 5 years ago

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

Also available in: Atom PDF