uvdesk / community-skeleton

UVdesk Opensource Community Helpdesk Project built for all to make a Full Ticketing Support System along with many more other features.
https://www.uvdesk.com
MIT License
7.18k stars 448 forks source link

"Forgot Password" feature not working #654

Closed Oxymoron290 closed 1 year ago

Oxymoron290 commented 1 year ago

Bug report

Title

"Forgot Password" feature not working, throws exception.

Issue Description

When a member goes to log into the administrator portal and uses the "Forgot Password" link, they are able to put in their email address. However after submitting their email a Symfony Exception occurs with an HTTP 500 error with the message

Attempted to call an undefined method named "setPassword" of class "Swift_Transport_NullTransport".

It is then followed by a stack tract starting at line 520 of vendor/uvdesk/core-framework/Services/EmailService.php. I noticed that in the last several months this section of the core-framework has been modified.

Preconditions

Please provide as detailed information about your environment as possible.

1. v1.1.1 downloaded from [the CDN](https://cdn.uvdesk.com/uvdesk/downloads/opensource/uvdesk-community-current-stable.zip) as `latest` at 12pm CST on 3/20/2023

Steps to reproduce

It is important to provide a set of clear steps to reproduce this bug.If relevant please include code samples.

1. Click Forgot Password
2. Enter Email Address
3. Press Enter
4. Experience exception

Expected result

The user should receive an email

Actual result

User experiences a symfony exception

komal-sh-27 commented 1 year ago

However after submitting their email a Symfony Exception occurs with an HTTP 500 error with the message Attempted to call an undefined method named "setPassword" of class "Swift_Transport_NullTransport".

Let us know, your swiftmailer and email settings option is enabled or not.

komal-sh-27 commented 1 year ago

Now, we are closing this issue. If you still facing the same issue you can reply to us on the same issue thread.