Bug 987707 - Regression: Reset Password feature broken (org.hibernate.HibernateException)
Summary: Regression: Reset Password feature broken (org.hibernate.HibernateException)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Zanata
Classification: Retired
Component: Authentication-Internal
Version: development
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 3.0
Assignee: Carlos Munoz
QA Contact: Zanata-QA Mailling List
URL:
Whiteboard:
Depends On:
Blocks: 994362
TreeView+ depends on / blocked
 
Reported: 2013-07-23 23:45 UTC by Damian Jansen
Modified: 2013-11-27 03:36 UTC (History)
2 users (show)

Fixed In Version:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-11-27 03:23:47 UTC
Embargoed:


Attachments (Terms of Use)
Reset Password Exception (45.82 KB, text/plain)
2013-07-23 23:45 UTC, Damian Jansen
no flags Details

Description Damian Jansen 2013-07-23 23:45:15 UTC
Created attachment 777521 [details]
Reset Password Exception

Description of problem:
The Forgot Password form has broken. It now gives the user an "unexpected error" and prints an exception.

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

How reproducible:
Easy always

Steps to Reproduce:
1. Click Sign in
2. Click Forgot Password?
3. Enter a valid Username + email combination
4. Press Submit

Actual results:

> Current Errors:
>      Unexpected error. Please try again. [ Request: ? ]

Expected results:
A message indicating an email has been sent to the user to confirm the request.

Additional info:
Attached exception from stdout

Comment 1 Carlos Munoz 2013-08-08 04:37:16 UTC
A query by natural Id was being done on an entity with no natural Id. Apparently previous versions of hibernate allowed that, but the most recent one doesn't.

Checked that uniqueness constraints are maintained by the database.

See:
https://github.com/zanata/zanata-server/commit/39fbd6d455cfc2d64f611f344feaad64701ddd79
https://github.com/zanata/zanata-server/commit/e9717d26d96269893f8fa25296402d30d590eea6

Comment 2 Damian Jansen 2013-08-09 03:26:35 UTC
Verified at be36d87e795bb0b5401f8bb233de339d7927aba8

Comment 3 Sean Flanigan 2013-11-27 03:14:00 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 4 Sean Flanigan 2013-11-27 03:15:52 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 5 Sean Flanigan 2013-11-27 03:19:27 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 6 Sean Flanigan 2013-11-27 03:23:47 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 7 Sean Flanigan 2013-11-27 03:34:13 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.

Comment 8 Sean Flanigan 2013-11-27 03:36:23 UTC
Closing VERIFIED bugs for Zanata versions <= 3.1.


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