Comments created in translation are displayed only for admin role

Created on 5 April 2018, about 6 years ago
Updated 19 February 2023, over 1 year ago

Problem/Motivation

Steps to reproduce:

  1. Install Drupal
  2. Install (Enable) comment, language and content translation modules
  3. Add a language and configure Article as translatable, including the comment field
  4. Create an article and add a translation
  5. Comment on the article or the translation
  6. View the translation as anonymous, confirm you cannot see any comments (view it in the default language and confirm you can see comments)
  7. Disable translation of the comment field
  8. Confirm you can now see comments on the translated node

With translation disabled for comments field:

With translation enabled for comments field:

Proposed resolution

I would expect that comments should appear on the translated node regardless of the translation settings of the comment field?

Remaining tasks

  1. Agree on how this should work
  2. Write a patch with tests
  3. Review

User interface changes

None

API changes

None

Data model changes

None

πŸ› Bug report
Status

Needs work

Version

10.1 ✨

Component
CommentΒ  β†’

Last updated 2 days ago

Created by

πŸ‡¨πŸ‡¦Canada cgomezg Montreal

Live updates comments and jobs are added and updated live.
  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

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

    This issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request β†’ as a guide.

    Following the steps of the issue summary. I commented on the english article and as admin could see the comment on the spanish page. But when anonymous I cannot see the comments. Even though the permissions are right and comment field is translatable.

    Applying the patch did not change anything.

    This will need an issue summary update as the proposed solution is a question. What was decided?

Production build 0.69.0 2024