Closed (fixed)
Project:
Context
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
21 Feb 2018 at 18:39 UTC
Updated:
10 Dec 2018 at 21:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
oadaeh commentedI'm working on this.
Comment #3
oadaeh commentedAttached is a patch that addresses this.
Comment #4
john bickar commentedI've tested this and it works as advertised. I am able to create new Contexts with region reactions.
Comment #5
herved commentedThanks for this.
There is another warning thrown from context during simpletest runs:
Maybe we can include it in this issue? If not let me know I'll create a new one.
The other issues are from D7 core which are covered in core issues.
Comment #7
herved commentedNo idea what's going on with the testbot...
Comment #8
vinmassaro commentedPatch applies cleanly to 7.x-3.x-dev and works well, thanks! Moving to needs review.
Comment #9
vinmassaro commentedComment #10
nedjoThis line is not equivalent to the removed code. It counts the regions. The removed code counts the blocks in any region.
Comment #11
nedjoComment #12
nedjoUpdating summary with details of issues and fixes.
Comment #13
nedjoComment #14
nedjoThe fix in core in
_form_validate()was tweaked in a follow-up commit, see #2885610-32: [PHP 7.2] Avoid count() calls on uncountable variables . Revised patch to include that fix.Comment #16
nedjoApplied.
Comment #18
liam morlandIs there a reason this wasn't done with an anonymous function instead of creating collapseRegion()?