Bug #14989
closedISE on loading Sync Status page with Any Context
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:
Updated by Zach Huntington-Meath over 8 years ago
- Assignee set to Zach Huntington-Meath
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
Updated by Zach Huntington-Meath over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|5533ffc291ffd8683b90ed8e9d4c552c56286284.
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release set to 86
Updated by Zach Huntington-Meath about 8 years ago
- Has duplicate Bug #13933: Redirect from Errata leads to /null-URL added