[解決済み] ユーザーおよびグループのメンションにおける不正/ハードコードされたURL(サブフォルダインストール)

Hi,

Since one of the latest updates, the URL on tags is no longer correct. Our development zone that is running on a previous version has the correct URLs.

See screenshots:

image


Those URLs should be /community/forum/u/klortie and /community/forum/groups/private-support.



All other URLs seem to work correctly, for example:

「いいね!」 3

Can confirm this has regressed on my subfolder install. User and group links do not include the subfolder.

「いいね!」 5

We should fix this @pmusaraj

「いいね!」 3

This should do it: FIX: user and group mentions in subfolder installs · discourse/discourse@421d47d · GitHub

「いいね!」 7

Confirmed fix is good. You’ll need to rebuild the html on any broken posts, but once done URLs work as expected.

「いいね!」 6

Thanks a lot for the quick fix!

I believe that it is:

./launcher enter app
rake posts:rebake

to rebuild all posts?

Yep, if this affected lots of posts, that’d be the way to go. If just a few, I’d do it by hand by clicking the “show more” button, then the “post admin actions” wrench, and finally “rebuild html”.

image
image

「いいね!」 2

Thanks, that makes sense. We’ll fix the broken posts that created problems for some users that way and then let the rake posts:rebake command run in the background for everything else.

「いいね!」 3

I confirm the that the issue has been fixed.

「いいね!」 5

This topic was automatically closed after 42 hours. New replies are no longer allowed.