Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.4k stars 1.98k forks source link

Links in email notification display "Sorry, but all the values are required." #87433

Open crazytonyli opened 7 months ago

crazytonyli commented 7 months ago

Quick summary

I receive notifications (likes, comments, etc) in my email. However, the links (for example, "Reply" button) in the email displays an error message "Sorry, but all the values are required", instead of taking me to the post.

Steps to reproduce

I'm not sure if this issue is reproducible. Maybe it's just an issue in my account. I couldn't find anyone reporting this issue on Slack or the "Report a bug" mc tool.

  1. Turn on receiving post notifications via email.
  2. Publish a post and use a different account to reply to the post.
  3. Check email inbox. There should be a "[New comment] ..." email.
  4. Open the "Commented on ..." link in the email

BTW, the "Report a bug" mc tool says this repo is the place to report this bug. Please let me know if I should report it in somewhere else instead.

What you expected to happen

Links in notification emails take me to the post.

What actually happened

Links in notification emails shows an error message "Sorry, but all the values are required".

Impact

One

Available workarounds?

No but the platform is still usable

Platform (Simple and/or Atomic)

No response

Logs or notes

No response

cat-og commented 7 months ago

πŸ“Œ REPRODUCTION RESULTS

πŸ“Œ ACTIONS

πŸ“Œ Message to Author Hey! This is the right place, thank you for checking! I ran some tests and was not able to replicate this message. If you do run into this again, please feel free to re-open this report and include any screenshots. This can help pinpoint specifics when we're not able to replicate the issue.

crazytonyli commented 7 months ago

@cat-og It's still an issue for me.

Here is one example link: https://public-api.wordpress.com/bar/?stat=groovemails-events&bin=wpcom_email_click&redirect_to=<p2-comment-url>&sr=1&signature=<lots-of-stuffs>

And here is a screenshot:

Screenshot 2024-02-21 at 12 13 43β€―PM
crazytonyli commented 3 months ago

I believe the issue is caused by Gmail adding redirects to the original links. Because the links in my notification emails work fine if I copy and past them to a new tab. The issue I reported here only occurs if I click on the links in the email.