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

Created on 14 November 2023, 8 months ago
Updated 15 November 2023, 8 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.69.0 2024