Activities of "melmarcelo"

Hi maliming,

Thanks but I already have the full code of latest ForgotPassword.cshtml & ForgotPassword.cshtml.cs in my solution.

https://github.com/abpframework/abp/blob/dev/modules/account/src/Volo.Abp.Account.Web/Pages/Account/ForgotPassword.cshtml https://github.com/abpframework/abp/blob/dev/modules/account/src/Volo.Abp.Account.Web/Pages/Account/ForgotPassword.cshtml.cs

I added a breakpoint on OnPostAsync, but it is not coming inside the method and throws the error first. So the FriendyException is not being shown at all.

Hi maliming,

Thanks but I already have the full code of latest ForgotPassword.cshtml & ForgotPassword.cshtml.cs in my solution.

https://github.com/abpframework/abp/blob/dev/modules/account/src/Volo.Abp.Account.Web/Pages/Account/ForgotPassword.cshtml https://github.com/abpframework/abp/blob/dev/modules/account/src/Volo.Abp.Account.Web/Pages/Account/ForgotPassword.cshtml.cs

I added a breakpoint on OnPostAsync, but it is not coming inside the method and throws the error first. So the FriendyException is not being shown at all.

I can confirm that the breakpoint in OnGetAsync method works.

Hello maliming,

I already tried it in chrome incognito and in edge private, same error happens when I did not select a Tenant before hitting Submit in Forgot Password.

I am trying to put a workaround to stop and catch if no Tenant was selected but the error above gets thrown even before entering the OnPostAsync method of ForgotPassword class.

Hi,

I tried to add a Tenant before clicking Submit in Forgot Password page and the exception was not thrown anymore.

Might help.

Regards.

Hi,

I am encountering an error when I perform forgot password.

Steps to Produce:

  1. Go to https://localhost:44332/Account/ForgotPassword
  2. Type in a valid email address (tried a randon email as well, same result)
  3. Hit Submit
  4. Error above is returned

I understand there is a similar question raised for this (https://github.com/abpframework/abp/issues/5761). The answer said that it works on v3.3.0 which I am currently using, but I still face the error.

Additional Note: Forgot pasword works fine when the scenario is like this:

  1. I logged in successfully using any user.
  2. Log out.
  3. Go to Forgot Password, enter valid email address and hit Submit.
  4. I get an email to the email address entered on Forgot password page.

To easily reproduce the issue, open a new incognito tab (close existing tabs first, if there is any opened).

  • ABP Framework version: v3.3.0
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): tiered (mvc)
  • Exception message and stack trace: BusinessException: Exception of type 'Volo.Abp.BusinessException' was thrown. Running project on IIS.
Showing 1 to 5 of 5 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 12, 2024, 07:15