Comment subject link doesn't work in comment preview

Created on 9 December 2009, almost 15 years ago
Updated 4 February 2023, almost 2 years ago

Problem/Motivation

Comment preview page previewed new comment links are broken / not user friendly.

To reproduce the bug:

  1. Fill the comment form and go to preview.
  2. Click the linked comment subject in the comment preview.
  • In D6 the link is an anchor inside the same page.
  • In D7 the link point to "comment/#comment-" that is not a valid page (page not found).
  • In D8 the link has been changed to

Proposed resolution

  • Link the new comment title on a comment preview page to the current page with an anchor tag.
  • Link the new comment permalink on a comment preview page to the current page with an anchor tag.

Remaining tasks

  • Backport for D7

User interface changes

Comment preview page new comment links will keep user on the preview page.

API changes

N/A

🐛 Bug report
Status

Needs work

Version

9.5

Component
Comment 

Last updated about 14 hours ago

Created by

🇮🇹Italy peximo

Live updates comments and jobs are added and updated live.
  • Needs backport to D7

    After being applied to the 8.x branch, it should be considered for backport to the 7.x branch. Note: This tag should generally remain even after the backport has been written, approved, and committed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇺🇸United States smustgrave

    Holy cow 13 years...

    Testing on Drupal10.1 I can confirm the issue is still there. The subject link goes to the homepage which just doesn't make sense.

    Applying the patch from #47 the link is now #new which is MUCH better.
    Triggering D10 tests

    If those pass I'll mark it.

  • Status changed to Needs work almost 2 years ago
  • 🇺🇸United States smustgrave

    Seems to have test failures that are valid.

Production build 0.71.5 2024