Project

General

Profile

Bug #18188

undefined local variable error when navigating to red hat repositories page

Added by John Mitsch about 2 years ago. Updated 9 months ago.

Status:
Closed
Priority:
Normal
Category:
Web UI
Target version:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

NameError (undefined local variable or method `notification_recipients_path' for #<#<Class:0x007fa0959a5438>:0x007fa0896fc378>):
app/views/home/_user_dropdown.html.erb:2:in `_1daa0c5d310c647763695d7881645383'
app/views/home/_topbar.html.erb:13:in `_ac1318deb28771a69662fccaf38b4c98'
app/views/layouts/base.html.erb:47:in `_c9f61fe9eb7346bd3e49973c75443c4c'
/home/vagrant/katello/app/views/katello/layouts/katello.html.erb:23:in `_dbca9b17ef98f1ab407b6318446f7ab3'
/home/vagrant/katello/app/controllers/katello/providers_controller.rb:13:in `redhat_provider'
app/controllers/concerns/application_shared.rb:14:in `set_timezone'
lib/middleware/catch_json_parse_errors.rb:8:in `call'
lib/middleware/tagged_logging.rb:18:in `call'

To reproduce, navigate to Content > Red Hat Repositories

seems to be related to UI notification changes

https://github.com/Katello/katello/pull/6560 may be related as well


Related issues

Related to Katello - Bug #18166: Use ReactJsHelper on Sync controllerClosed2017-01-19

Associated revisions

Revision 8da4ac05 (diff)
Added by Daniel Lobato Garcia about 2 years ago

Fixes #18188 - Allow notifications in RH repositories

The Red Hat Repositories page is missing the proper helpers to display
notifications. Tt's trying to render the user dropdown (which
makes use of those helpers), but since the needed helpers are not
available, it fails to do so.

History

#1 Updated by John Mitsch about 2 years ago

  • Description updated (diff)

#2 Updated by Justin Sherrill about 2 years ago

  • Related to Bug #18166: Use ReactJsHelper on Sync controller added

#3 Updated by The Foreman Bot about 2 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Daniel Lobato Garcia
  • Pull request https://github.com/Katello/katello/pull/6563 added

#4 Updated by Daniel Lobato Garcia about 2 years ago

  • Assignee deleted (Daniel Lobato Garcia)

Current workaround is to use a version of Foreman without the commit https://github.com/theforeman/foreman/commit/1c40f7e8721cdecf098863611c728dcc2a03c464

#5 Updated by The Foreman Bot about 2 years ago

  • Assignee set to Daniel Lobato Garcia

#6 Updated by Anonymous about 2 years ago

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

#7 Updated by Daniel Lobato Garcia about 2 years ago

  • Target version set to 169

#8 Updated by The Foreman Bot about 2 years ago

  • Pull request https://github.com/Katello/katello/pull/6568 added

#9 Updated by Justin Sherrill about 2 years ago

  • Target version deleted (169)
  • Legacy Backlogs Release (now unused) set to 211

#10 Updated by Daniel Lobato Garcia about 2 years ago

  • Target version set to 1.11.0

Also available in: Atom PDF