Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
render system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Sep 2015 at 17:31 UTC
Updated:
26 Feb 2016 at 01:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
slashrsm commentedAttached patch tries to fix this issue in a general way.
Fix addresses the issue only for the cases where parts of form are returned. Ajax callbacks that return own ajax commands are not covered and I am not sure how to solve that efficiently.
Comment #3
slashrsm commentedRephrased comment a bit.
Comment #4
marcingy commentedLooks good
Comment #5
jibranCan we write some tests for this? Added a tag for core contributors.
Comment #6
catchYes this needs test coverage.
Comment #7
alexpottThanks for tagging this for rc target triage! To have committers consider it for inclusion in RC, we should add a statement to the issue summary of why we need to make this change during RC, including what happens if we do not make the change and what any disruptions from it are. We can add a section
<h3>Why this should be an RC target</h3>to the summary.Comment #8
slashrsm commentedWe are past RC. 8.1.x material I assume.
Added test.
Comment #10
slashrsm commentedExpected fail.
Comment #11
primsi commentedTest looks ok
Comment #12
swentel commentedThe comment confuses me a little. Could probably use a comma after 'it'. The 3rd line sounds weird to me, it feels like something is missing after/between 'as when' ? Won't block this as I don't have a better proposal for now.
Also, this is a straight bug fix, this can go in 8.0.x as well I guess no ?
Comment #13
slashrsm commentedBetter? Let's see what maintainers say about 8.0.x vs 8.1.x.
Comment #14
catchDo we need to be concerned about the case where #ajax is set on a parent element, and #group is set on a child? Patch doesn't look like it would cover that if so. I'm assuming things are only broken when it's the same level, but just in case, and doubt we have test coverage for that.
Comment #15
slashrsm commentedSomething along those lines?
Comment #16
primsi commentedComments addressed, I would say RTBC again.
Comment #17
catchThanks for the extra test coverage. Committed/pushed to 8.1.x and cherry-picked to 8.0.x. Thanks!