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
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
Verified at be36d87e795bb0b5401f8bb233de339d7927aba8
Closing VERIFIED bugs for Zanata versions <= 3.1.