drupalSettings are reset when adding a comment, breaking other module's functionality

Created on 14 November 2023, 12 months ago
Updated 15 November 2023, 12 months ago

Problem/Motivation

drupalSettings are reset upon adding a new comment, causing certain DrupalSettings to go missing such as the ones provided by entity_browser and field_group.

Steps to reproduce

1. drush si -y
2. enable ajax_comments
3. Create article, and view article
4. in chrome console type: drupalSettings.
5. leave an ajax comment
6. in chrome console type: drupalSettings

Compare 6 to 4 and you will find several entries have disappeared, breaking editors, field_groups etc.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Postponed

Version

1.0

Component

Code

Created by

🇪🇸Spain nuez Madrid, Spain

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024