Project

General

Profile

Bug #26973

sync management page and tests fail with undefined local variable or method `per_page_options' for

Added by Justin Sherrill 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

undefined local variable or method `per_page_options' for #<#<Class:0x000000000a70d848>:0x00007fe67e575208>

app/helpers/application_helper.rb:532:in `app_metadata'
app/helpers/layout_helper.rb:3:in `mount_react_app'
app/views/layouts/base.html.erb:59:in `block in _384dbaa107a1a07b19d98a8ade6e9ca8'
app/views/layouts/base.html.erb:58:in `_384dbaa107a1a07b19d98a8ade6e9ca8'
/home/vagrant/git/katello/app/views/katello/layouts/katello.html.erb:23:in `_4d528a94aee3b39dff8cdbbdff4ca722'
app/controllers/concerns/foreman/controller/timezone.rb:10:in `set_timezone'
app/controllers/concerns/foreman/controller/topbar_sweeper.rb:12:in `set_topbar_sweeper_controller'
lib/foreman/middleware/telemetry.rb:10:in `call'
lib/foreman/middleware/catch_json_parse_errors.rb:9:in `call'
lib/foreman/middleware/logging_context_session.rb:22:in `call'
lib/foreman/middleware/logging_context_request.rb:11:in `call'
/home/vagrant/git/katello/lib/katello/prevent_json_parsing.rb:12:in `call'


Related issues

Has duplicate Foreman - Bug #27001: app_metadata helper does not workDuplicate

Associated revisions

Revision 62fafdad (diff)
Added by Justin Sherrill 4 months ago

Fixes #26973 - include pagination helper in app

A recent change in foreman meant that the application
helper now requires the pagination helper. In foreman
this gets included automatically in controllers, but not in
katello

History

#1 Updated by The Foreman Bot 4 months ago

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

#2 Updated by Justin Sherrill 4 months ago

  • Status changed from Ready For Testing to Closed

#3 Updated by Samir Jha 4 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.13.0

#4 Updated by Tomer Brisker 4 months ago

  • Has duplicate Bug #27001: app_metadata helper does not work added

Also available in: Atom PDF