Problem/Motivation
If you embed a view using the #type => 'view' exposed forms as skipped.
Proposed resolution
Don't alter the root level render array, but rather add one below it, just like the non embed case does.
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | 2549719-8-fail.patch | 3.01 KB | dawehner |
| #7 | interdiff.txt | 3.01 KB | dawehner |
| #7 | 2549719-7.patch | 3.68 KB | dawehner |
| #3 | 2549719-1.patch | 684 bytes | dawehner |
Comments
Comment #2
dawehnerThere we go,
Comment #3
dawehnerThis time with a patch.
Comment #4
wim leersComment #5
damiankloip commentedThis change looks good to me, I spoke to Daniel and I can see how merging this array directly is causing issues. Just needs some sort of test coverage.
Comment #6
dawehnerWorking on this now., meh
Comment #7
dawehnerHere is a test.
Comment #8
dawehnerLet's fail it as well.
Comment #9
wim leersWhy does this need to be moved a level down?
Comment #10
dawehnerBecause it was wrong previously, see
Comment #11
wim leersAh! That makes sense.
It's a bit concerning then that A) the tests were passing, B) no changes were necessary to the existing tests. But I guess they happened to be asserting things that were true for both embedded and non-embedded views. So that makes sense.
Comment #13
wim leers#7 is RTBC, #8 is the test-only/FAIL patch.
Comment #14
damiankloip commentedRTBC for me too, good to see the ViewElementTest getting some more love!
Comment #15
alexpottThis is a bug. Committed 57fb699 and pushed to 8.0.x. Thanks!