Issue Summary
Problem
When creating a manual context filter in a variant, by entering in the information required for the filter i.e. node id, term id, the information does not save on the first time. After saving, reopening the context filter, re-entering the input and saving again does stick.
To reproduce:
Create a manual context filter that requires information, i.e. node id
In the 'title or id' box, enter in a title or id number
Click 'Finish'
Save the variant
Re-open the contextual filter in the variant, the information was not saved
Enter in the id or title again, 'Finish' the filter, save the panel. The information is now saved
Using
Views-7.x-3.0-rc1
Panels-7.x-3.0-dev
Ctools-7.x-3.0-rc1
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedMoving to CTools.
Comment #2
clashar CreditAttribution: clashar commentedI am getting
Notice: Undefined index: context_entity:node_1 in theme_ctools_context_list() (line 200 of Z:\home\paris9.kz\www\emploi\sites\all\modules\ctools\includes\context.theme.inc).
not sure if it's the same issue but the error is the same as in #1230222: Manually created contexts for a variant are not available as contextual filters to views in variant which directs here.
Comment #3
clashar CreditAttribution: clashar commentederror appears after adding "context" -> "node" in Panel
using Ctools 7.x-1.x-dev of 2011-Aug-07
Comment #4
clashar CreditAttribution: clashar commentedyes possible to save only on second time when reopening and saving the same context node
Comment #5
clashar CreditAttribution: clashar commentedother errors could appear like in #1255526: Notice: Undefined variable: id in ctools_context_create_entity() (line 81...
Also re-save for second times does the trick.
Comment #6
merlinofchaos CreditAttribution: merlinofchaos commentedOk, the entity was misusing the "id" conf value which is reserved for storing the internal id of the context. I shifted it over to "entity_id" -- but this means existing contexts might break a little. It should render ok but editing them looks hard to cope with.