Project

General

Profile

Bug #19529

Unable to access plugin pages when user email is not provided

Added by Walden Raines over 3 years ago. Updated over 2 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1435414
Description of problem:

Accessing pages without providing email leading into error screen

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

How reproducible:
Always

Steps to Reproduce:
1. Create a user with minimum data (login, autorize by and password)
2. Add Role "Viewer" to user
3. Logout and Login with new user credentials. System will redirect to user edit page on first access.
4.Access some page. Ex: Content -> Product

Actual results:
Error msg on screen (see screenshot)

Expected results:
Meaningful error message.

Additional info:


Related issues

Has duplicate Foreman - Bug #18826: User without email encounters UrlGenerationErrorDuplicate2017-03-07

Associated revisions

Revision f92cc173 (diff)
Added by Eric Helms over 3 years ago

Fixes #19529: Use main_app for redirect in case of plugins

Sometimes when entering the require_mail filter, the plugins context
is carried over and the route cannot be matched. Using main_app ensures
that it will resolve the path from the proper context.

Revision 2ec74f0a (diff)
Added by Eric Helms over 3 years ago

Fixes #19529: Use main_app for redirect in case of plugins

Sometimes when entering the require_mail filter, the plugins context
is carried over and the route cannot be matched. Using main_app ensures
that it will resolve the path from the proper context.

History

#1 Updated by Walden Raines over 3 years ago

  • Target version set to 185
  • Legacy Backlogs Release (now unused) set to 228

#2 Updated by Walden Raines over 3 years ago

  • Target version changed from 185 to 195

#3 Updated by Justin Sherrill over 3 years ago

  • Assignee changed from Walden Raines to Eric Helms

#4 Updated by Justin Sherrill over 3 years ago

  • Target version deleted (195)
  • Legacy Backlogs Release (now unused) changed from 228 to 258

#5 Updated by Justin Sherrill over 3 years ago

  • Legacy Backlogs Release (now unused) changed from 258 to 267

#6 Updated by Justin Sherrill over 3 years ago

  • Legacy Backlogs Release (now unused) changed from 267 to 281

#7 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) changed from 281 to 286

#8 Updated by Eric Helms over 3 years ago

  • Status changed from New to Needs design

#9 Updated by Eric Helms over 3 years ago

  • Project changed from Katello to Foreman
  • Subject changed from Unable to access pages when user email is not provided to Unable to access plugin pages when user email is not provided
  • Category deleted (Web UI)
  • Status changed from Needs design to Assigned
  • Legacy Backlogs Release (now unused) changed from 286 to 287

#10 Updated by The Foreman Bot over 3 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/4729 added

#11 Updated by Anonymous over 3 years ago

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

#12 Updated by David Davis over 3 years ago

  • Has duplicate Bug #18826: User without email encounters UrlGenerationError added

Also available in: Atom PDF