Link to sub-category in group activity feed leads to an error page

Greetings!

It appears that if a group feed includes a post from a sub-category, the category link itself will point to /c/:sub-cat instead of the intended /c/:parent-cat/:sub-cat. An example:

Team Activity feed includes a post from techAPJ in developers under howto. The link points to /c/devs instead of the intended /c/howto/devs

Repro steps:

  • Have a user in a group post in any sub-category
  • Go on to group’s activity feed
  • Click on category link for post
  • See error page Oops! That page doesn’t exist or is private.
  • Double check link, see it’s missing parent category from path
4 Likes

I see, @zogstrip can you add this to your list?

3 Likes

This is now fixed :coconut:

https://github.com/discourse/discourse/commit/7aa0d044de174b3dc1536a8d84bd7e124984a592

3 Likes