- Issue created by @generalredneck
- 🇮🇳India ayush.pandey
The issue is reproducible with module version 2.x-dev on Drupal 10.1. The patch fixes the issue.
- First commit to issue fork.
- Merge request !12Issue #3327104 by snap_x, generalredneck, Suresh Prabhu Parkala,... → (Open) created by abhishek_virasat
- Status changed to Needs review
about 1 year ago 5:56am 3 October 2023 - 🇮🇳India abhishek_virasat
@generalredneck, I have fixed this issue. please kindly review the MR
- Assigned to generalredneck
- Status changed to Needs work
4 months ago 2:52pm 6 September 2024 - 🇺🇸United States generalredneck
Hey, I appreciate both of yall taking a look at this. While identified areas where this would be a problem. I think the problem is bigger.
Specifically aisforaaron is storing the report state in the configuration entity. that does mean that any time you do a configuration export after content is updated (and you don't ignore this configuration entity) that it will be updated...
Example... after I run the report manually I get:
_core: default_config_hash: WDVVbTde1eXP94qMDbx4NqQy4uOAEHLdyGsAcQBcF4o content_types: article: article page: 0 hide_paras: text: 0 import_rows_per_batch: '10' watch_content: 0 report: '{"text":{"top":["1","2","3","4"]}}'
Prior to doing so, I get
_core: default_config_hash: WDVVbTde1eXP94qMDbx4NqQy4uOAEHLdyGsAcQBcF4o content_types: article: article page: 0 hide_paras: text: 0 import_rows_per_batch: '10' watch_content: 0
I propose that we use the State API → to store the report state instead of the Configuration Entity... and then we use abstracted retrieval of the state so that we can handle this error for all 3 places in one area. It's currently being handled inf ParagraphsReport::fetchJson(), but just not being used everywhere.
- Merge request !16Issue #3382078: When watch for content is selected → (Open) created by generalredneck
-
generalredneck →
committed 256624f4 on 2.x
Issue #3382078 by abhishek_gupta1, generalredneck, ayush.pandey: When...
-
generalredneck →
committed 256624f4 on 2.x
- Status changed to Fixed
4 months ago 6:09pm 6 September 2024 - 🇺🇸United States generalredneck
I pushed up the fix from ayush.pandey's patch because MR!12 did some reverts against some of the code changed in 2.x. Plus the patch works more completely.
Pushing the changes of MR!16 to 🐛 Why are entities saved in config ? Active
Automatically closed - issue fixed for 2 weeks with no activity.