Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Roelof Nijholt 7 posts 77 karma points c-trib
    Jan 12, 2017 @ 09:15
    Roelof Nijholt
    0

    Password reset link from Reset Password notification does not work

    Hi,

    I have a problem with the link in the notification mail that is received after requesting a password reset. (I first had a problem receiving the notification, but that issue was tackled here: https://our.umbraco.org/forum/using-umbraco-and-getting-started/80908-umbraco-backoffice-forgotten-password-not-working).

    Umbraco error log shows:

    System.ArgumentException: The parameters dictionary contains a null entry for parameter 'userId' of non-nullable type 'System.Int32' for method 'System.Threading.Tasks.Task`1[System.Web.Mvc.ActionResult] ValidatePasswordResetCode(Int32, System.String)' in 'Umbraco.Web.Editors.BackOfficeController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter.
    

    Umbraco version is 7.5.4 Thanks, Roelof

  • Fergus Davidson 309 posts 588 karma points
    Oct 20, 2017 @ 14:50
    Fergus Davidson
    0

    any fix for this, i am getting same problem: Umbraco v7.7.2

    EDIT: working!?!

    i had previously opened the email generated in a web browser, but when opened in Outlook, the link worked?

  • carmen lazar 10 posts 80 karma points
    Oct 26, 2017 @ 08:04
    carmen lazar
    0

    Bump!

    Using Umbraco version 7.6.4

    The link looks like this:

    http://domain.com/umbraco/ValidatePasswordResetCode?u=2&r=6bV5....

    From looking through Umbraco code, userId comes from the parameter 'u'. Clearly it has the value 2, so it's not null. Tried with other user ids and I still get the error.

    I created an issue here:

    http://issues.umbraco.org/issue/U4-10593

  • Hawthorn 10 posts 122 karma points
    Jan 29, 2018 @ 10:18
    Hawthorn
    0

    Did anyone get a fix for this? I am getting the same on version 7.6.8

    The parameters dictionary contains a null entry for parameter 'userId' of non-nullable type 'System.Int32' for method 'System.Threading.Tasks.Task`1[System.Web.Mvc.ActionResult] ValidatePasswordResetCode(Int32, System.String)' in 'Umbraco.Web.Editors.BackOfficeController'. An optional parameter must be a reference type, a nullable type, or be declared as an optional parameter. Parameter name: parameters

    The url is:

    http://www.xxxx.com/umbraco/ValidatePasswordResetCode?u=1&r=QYevFrQgT8TTPXZY%2B4gz6px415gfxI4JyLLxNbItwuIb7nLYXsqgyJqzK1tA26M1iEsDaqWV2oc%2FemYzSn3NTeogZQ%2BfO2gR5Q%2FkdCi2%2BDsThW%2BNNYr9qS%2BeXOdIVlYF12gdnTdypn%2F9buf6OaWnwg%3D%3D

    The value for u does relate to the correct user.

    I get the same with Gmail, Outlook web app and standalone Outlook client

    On a newer site on version 7.7.4 I don't even get as far as the form to fill in the email. I just get a box with Happy Manic Monday or funky Friday or whatever, so it doesn't seem that updating the version would be of any great help.

    Any help would be great, thanks

  • Hawthorn 10 posts 122 karma points
    Jan 29, 2018 @ 10:32
    Hawthorn
    0

    Ok thanks to this:

    http://issues.umbraco.org/issueImageAttachments?issue=61-27810

    I solved the issue on the later version where the Manic Monday message is there but no form (turns out the form is there but just hidden in css due to a missing closing div tag)

    ETA - I put in the missing div tag on a test site which worked - got the form, got the email, the url link worked. Then I tried it on the live site and the url failed with the same error as above. The test site is a direct clone from the live one, only a couple of days ago. Only difference I can think of between them is that the SSL. Could this be causing an issue?

    ETA2 - yes it seems like the SSL is causing the problem.The link in the email is http://xxx.com/ But the website is set up on https://www.xxx.com/ So it's hitting the redirect through to https://www.xxx.com/ which is removing the querystring values.

    Ok have this working - Web.config appsettings: <add key="umbracoUseSSL" value="true" /> this was false. Seems to have sorted it.

Please Sign in or register to post replies

Write your reply to:

Draft