Played around with AJAX and discovered, that each response back from backend to browser, the response size increases, within context of same form. By comparing responses it was evident that settings > ajaxPageState > libraries property was the one that was increasing. Items are just repeated.
Expecting each library to be unique.
Added files:
- response 1 - prettified JSON
- response 2 - prettified JSON
- response 1 - extracted libraries value, split up and sorted
- response 1 - extracted libraries value, split up and sorted
- diff between two lists of sorted libraries.
| Comment | File | Size | Author |
|---|---|---|---|
| libs.diff | 655 bytes | ragnarkurm | |
| libs-sorted-b.txt | 1.73 KB | ragnarkurm | |
| libs-sorted-a.txt | 1.19 KB | ragnarkurm | |
| xhr-b.json_.txt | 7.55 KB | ragnarkurm | |
| xhr-a.json_.txt | 7.01 KB | ragnarkurm |
Comments
Comment #2
cilefen commentedIs there custom code or contributed modules needed to reproduce or can this be reproduced with a few steps in plain Drupal core? Either way please document the steps in the issue summary.
Comment #9
danielvezaPosponing this based on still requiring replication steps after 5 years. If you reproduce this or see an actual issue related to this in a fresh D10 instance please let us know. Thanks!
Comment #10
quietone commentedThe information needed for the community to work on this was asked for 5 years ago and it has not been supplied. It is time to close this.