- Issue created by @PunamShelke
- last update
5 months ago 29,689 pass - Status changed to Needs review
5 months ago 12:24pm 5 June 2024 - Status changed to Needs work
5 months ago 12:24pm 5 June 2024 The Needs Review Queue Bot → tested this issue.
While you are making the above changes, we recommend that you convert this patch to a merge request → . Merge requests are preferred over patches. Be sure to hide the old patch files as well. (Converting an issue to a merge request without other contributions to the issue will not receive credit.)
- Status changed to Postponed: needs info
5 months ago 12:46pm 5 June 2024 I think that is intentional but the comment may be wrong. Can you verify by reading over the original issue?
- 🇮🇳India PunamShelke India
Hi
MIght be intentional but I have tested this aggregation and its not working properly and behaviour is not constant.
After analysis I have found this piece of code and I have compared with with 10.0 then looks like mistake might be I am wrong but want other also test this case before closing....10.0
10.1 onwards
- Status changed to Needs work
5 months ago 9:45am 6 June 2024 It’s understood that 🐛 ^10.1 CSS aggregation breaks during maintenance mode Fixed changed the code.
The issue seems to be that it removed a `!` from the line declaring $optimize_js, so now js is only optimized in maintenance mode. #3373328 was focused on the css aggregation, so its understandable that the missing exclamation point for js optimization would be overlooked.
- First commit to issue fork.
- Status changed to Needs review
3 months ago 1:29am 14 August 2024 - 🇬🇧United Kingdom catch
Was really confused by this issue because aggregation in general is working fine, then realised this affects JavaScript added via AJAX responses only.
I'm not sure if we have an existing test for this that can be adapted. Since it's a one character fix for what was essentially a typo committed to 10.1 already, moving to needs review.
- Merge request !9204Reverse condition so that js added by ajax is aggregated. → (Closed) created by catch
- Status changed to Needs work
3 months ago 1:44pm 18 August 2024 - 🇺🇸United States smustgrave
Can the issue summary be updated.
This is a small change but should tests be a follow up?
- Status changed to Needs review
3 months ago 1:52pm 18 August 2024 - 🇬🇧United Kingdom catch
Updated the issue summary. Given this was a typo and it's a regression in released versions, I personally think tests should be a follow-up here. Would be good to add to performance test coverage but we'll need an AJAX request that adds at least two JavaScript files at once, and I'm not sure where to find one of those yet.
- Status changed to RTBC
3 months ago 2:02pm 18 August 2024 - 🇺🇸United States smustgrave
Thanks. Opened 📌 Add performance test coverage for AJAX requests Active for the tests.
- 🇫🇷France nod_ Lille
Since this is an issue in 10.x I backported to 10.3.x
Committed and pushed 07abb808af to 11.x and b6ea46a9e1 to 11.0.x and 1bcb65983f to 10.4.x and 379efd0a0b to 10.3.x. Thanks!
- Issue was unassigned.
- Status changed to Fixed
3 months ago 8:32am 19 August 2024 Automatically closed - issue fixed for 2 weeks with no activity.