Link to Queued Posts

When we receive an email notification of a post which needs moderating the link to the moderation queue doesn’t work. Instead we get the message: # Oops! That page doesn’t exist or is private.

The link it goes to is: /queued-posts rather than the now current address of: /review

Your Discourse instance might have overriden that email template (before the switch to /review), can you check whether that is the case by going to Customize > Email Templates and checking the contents of the “Queued Posts Reminder”?

3 个赞

The contents of this template are:

Hello,

Posts from new users were held for moderation and are currently waiting to be reviewed. [Approve or reject them here](%{base_url}/review?type=ReviewableQueuedPost).

That has the correct url. Do you have a screenshot of (or can you paste) the email you received, by any chance?

3 个赞

我遇到了同样的问题,即使不是通过电子邮件链接,如果我使用右上角的下拉菜单 > review,URL 也会变成 /review,但点击后 URL 永远不会改变,并且会直接报错
“出了点问题。”
但头像也会改变,显示另一个用户,有时错误是“哎呀!页面…”
然后,如果我导航到其他页面,我需要重新加载页面才能看到我的头像并停止看到另一个用户的头像。我们看到的头像属于另一位管理员,所有管理员都能重现此错误。
有什么想法吗?
控制台错误:
image

@octavioamu 能提供一些有助于排除故障的信息吗?您描述的用户切换听起来像是一个更大的问题。

  1. 您是按照我们的官方指南安装 Discourse 的吗?
  2. 您正在运行哪个 Discourse 版本?
  3. 您安装了任何自定义插件吗?
  4. 您在使用任何形式的 SSO/外部身份验证吗?

听起来您在导航到审核队列时,似乎不知何故登录了另一个非员工用户的帐户,并且由于该用户没有适当的权限而触发了“哎呀!”页面。如果是这种情况,您的网站就存在非常令人担忧的问题。这个“其他用户的头像”更改发生在其他上下文中,还是在尝试查看审核队列时发生?

您好!
我在这里遇到了同样的错误。当我尝试转到 /review 时,我只收到截图中的错误。

回答 @tshenry 的问题:

  1. 我已按照指南安装 Discourse。
  2. 我正在运行版本 2.9.0.beta10
  3. 我只使用了默认插件。
  4. 任何 SSO 或外部身份验证。

我已经重建了应用程序,但仍然收到错误。我需要尽快解决这个问题,因为我们的用户需要在应用程序中获得批准,而为了做到这一点,我需要访问 /review 路由。