Project

General

Profile

Actions

Bug #14989

closed

ISE on loading Sync Status page with Any Context

Added by Zach Huntington-Meath over 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Web UI
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1332247
Description of problem:
On accessing Sync Status (/sync_management) page with no Organization context (Any Context) an error is displayed.

2016-05-02 17:41:35 [app] [I] Processing by Katello::SyncManagementController#index as HTML
2016-05-02 17:41:35 [app] [E] User does not belong to an organization. (Katello::Errors::SecurityViolation) | /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.24/app/controllers/katello/application_controller.rb:254:in `require_org' | /opt/rh/rh-ror41/root/usr/share/gems/gems/activesupport-4.1.5/lib/active_support/callbacks.rb:424:in `block in make_lambda'
... | /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `call' | /opt/theforeman/tfm/root/usr/share/gems/gems/logging-1.8.2/lib/logging/diagnostic_context.rb:323:in `block in create_with_logging_context'
2016-05-02 17:41:35 [app] [I] Completed 500 Internal Server Error in 18ms
2016-05-02 17:41:35 [app] [F] | ActionView::MissingTemplate (Missing template katello/common/403 with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby, :rabl]}. Searched in: | * "/usr/share/foreman/app/views"
...

Version-Release number of selected component (if applicable):
6.2.0 Beta

How reproducible:
always

Steps to Reproduce:
1. make sure you're using Any Context
2. navigate to Content -> sync status

Actual results:
ISE

Expected results:
'Select Organization' dialog appears

Additional info:


Related issues 1 (0 open1 closed)

Has duplicate Katello - Bug #13933: Redirect from Errata leads to /null-URLDuplicateZach Huntington-Meath02/28/2016Actions
Actions #1

Updated by Zach Huntington-Meath over 8 years ago

  • Assignee set to Zach Huntington-Meath
Actions #2

Updated by The Foreman Bot over 8 years ago

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

Updated by Zach Huntington-Meath over 8 years ago

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

Updated by Eric Helms over 8 years ago

  • Translation missing: en.field_release set to 86
Actions #5

Updated by Zach Huntington-Meath about 8 years ago

  • Has duplicate Bug #13933: Redirect from Errata leads to /null-URL added
Actions

Also available in: Atom PDF