You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Parse.User.requestEmailVerification fails with code -1 when user is already verified #7740
🚀 You can help us to fix this issue faster by opening a pull request with a failing test. See our Contribution Guide for how to make a pull request, or read our New Contributor's Guide if this is your first time contributing.
@pash2048 sure, please go ahead. I guess the first step would be to identify a better cloud code error number. I suggest you take a look at the Parse Error section in the contribution guide.
I reclassified this as feature since it's a feature related improvement rather than a bug.
Dear @mtrezza , thanks for the opportunity. Very cool. Thumbs up!
at the first, I need to send a pr to parse js SDK for a new Error code after merged change Parse JS SDK dependency in package.json of Parse Server and throw new Parse.Error with those error code in /src/Routes/UsersRouter.js.
everything is alright?
Sounds good. For the Parse Server PR: changing the error code is a breaking change. We need to deprecate the old error code with a temporary server option to switch to the new error code. According to our deprecation policy, the new error code will be used by default in Parse Server 7 (2023).
Activity
parse-github-assistant commentedon Dec 13, 2021
Thanks for opening this issue!
pash2048 commentedon Dec 22, 2021
Hi @mtrezza , May I work on this?
mtrezza commentedon Dec 22, 2021
@pash2048 sure, please go ahead. I guess the first step would be to identify a better cloud code error number. I suggest you take a look at the Parse Error section in the contribution guide.
I reclassified this as
featuresince it's a feature related improvement rather than a bug.pash2048 commentedon Dec 23, 2021
Dear @mtrezza , thanks for the opportunity. Very cool. Thumbs up!
at the first, I need to send a pr to parse js SDK for a new Error code after merged change Parse JS SDK dependency in package.json of Parse Server and throw new Parse.Error with those error code in /src/Routes/UsersRouter.js.
everything is alright?
mtrezza commentedon Dec 24, 2021
Sounds good. For the Parse Server PR: changing the error code is a breaking change. We need to deprecate the old error code with a temporary server option to switch to the new error code. According to our deprecation policy, the new error code will be used by default in Parse Server 7 (2023).
pash2048 commentedon Dec 24, 2021
I did not figure out how I deprecate the old error code with a temporary server option to switch to the new error code. Can you please give me a hint?
mtrezza commentedon Dec 26, 2021
Sure, please see the contribution guide for how to deprecate a feature and how to add a parse server option.
For each of these there are existing usages in code where you can see how it's implemented.