Bug 865896 - "Forgot Username" causes error
Summary: "Forgot Username" causes error
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: Mike McCune
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-12 18:30 UTC by Thom Carlin
Modified: 2014-03-18 17:37 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-18 17:37:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
empty radio button in dialog (24.82 KB, image/png)
2012-10-31 14:44 UTC, Og Maciel
no flags Details

Description Thom Carlin 2012-10-12 18:30:26 UTC
Description of problem:

When pressing "Send Login", receive "Couldn't find Organization with ID=1 [WHERE "organizations"."task_id" IS NULL]"

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

CloudForms 1.1 beta

How reproducible:

Every time

Steps to Reproduce:
1. Setup userid per System Engine User manual with email address
2. Logoff
3. Click Forgot Username link
4. Enter email corresponding to 1
5. Click Send Login
  
Actual results:

"Couldn't find Organization with ID=1 [WHERE "organizations"."task_id" IS NULL]" error.  No email

Expected results:

Username reminder email to be sent

Additional info:

Comment 3 Thom Carlin 2012-10-14 00:50:06 UTC
Same error for "Forgot Password"

Comment 4 James Laska 2012-10-31 13:04:14 UTC
Thom, for future System Engine bugs, please attach the tarball created by the command /usr/share/katello/scripts/katello-debug.  That will provide diagnostic information crucial for debugging 

I'm unable to reproduce this problem using the following version of katello

 * katello-1.1.12-18.el6cf.src.rpm
 * katello-candlepin-cert-key-pair-1.0-1.src.rpm
 * katello-certs-tools-1.1.8-1.el6cf.src.rpm
 * katello-cli-1.1.8-10.el6cf.src.rpm
 * katello-configure-1.1.9-10.el6cf.src.rpm
 * katello-qpid-broker-key-pair-1.0-1.src.rpm
 * katello-qpid-client-key-pair-1.0-1.src.rpm
 * katello-selinux-1.1.1-2.el6cf.src.rpm

Comment 5 Garik Khachikyan 2012-10-31 14:40:23 UTC
# COMMENT

doing click on "Reset Password" (without entering any info in fields) brings to the red alert:
---
Couldn't find User with username = , email =

we seems missing a check on text input(s) emptiness

Comment 6 Og Maciel 2012-10-31 14:43:35 UTC
Also, choosing "Forgot username", entering a valid email and clicking "Send Login" doesn't seem to actually send an email.

Comment 7 Og Maciel 2012-10-31 14:44:48 UTC
Created attachment 636163 [details]
empty radio button in dialog

There's a radio button with no text displayed in the dialog.

Comment 8 James Laska 2012-10-31 14:45:14 UTC
(In reply to comment #5)
> # COMMENT
> 
> doing click on "Reset Password" (without entering any info in fields) brings
> to the red alert:
> ---
> Couldn't find User with username = , email =
> 
> we seems missing a check on text input(s) emptiness

Confirmed, I'm seeing that also.  The message seems like it could be presented better.  Something like, "No matching user found".

I could be wrong, but I think that's slightly different from the reported issue.  We should have a bug to track improving the reading of that notification.  I'm not sure whether the issue in comment#0 and comment#5 should be tracked by the same bug. 

Any input from devel?

Comment 11 Jason E. Rist 2012-12-17 22:59:53 UTC
Og - I think that we should probably file a separate bug if you're not getting an email.  (I think there might already be a closed bug and documentation on that issue alone.)

Comment 13 Mike McCune 2014-03-18 17:37:34 UTC
This bug was closed because of a lack of activity.  If you feel this bug should be reconsidered for attention please feel free to re-open the bug with a comment stating why it should be reconsidered.


Note You need to log in before you can comment on or make changes to this bug.