Closed (cannot reproduce)
Project:
Context
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
5 Mar 2012 at 15:29 UTC
Updated:
28 Jul 2013 at 20:24 UTC
When block is added to region and context saved, blocks position to other blocs from other contexts are not saved properly. This issue #455908: Allow setting block weight via context admin UI provides workaround, but proper fix is needed.
When block is added to region or moved in region in one context, before saving, all contexts for that region needs to be updated accordingly.
Comments
Comment #1
franz+1 to this.
Comment #2
doublejosh commentedAgreed !!!
Stuck doing all block placing via features without this.
Comment #3
tekante commentedAdding tag for tracking
Comment #4
tekante commentedI tried testing placement of two blocks, each in a different context, using the inline editing capabilities of the latest dev version (this is accessed via a configure layout link on any block on the page rather than having to activate the inline editor as in previous versions). As I changed the relative position of the two blocks and saved my changes the weights were set in each context to match the order of the blocks on the page. This also worked with multiple blocks in one context separated by a block placed by another context. This is the only editing mechanism where I would expect the weighting of blocks in multiple contexts to interact with each other.
I would not expect that if using an individual context editor (at URL like admin/structure/context/list/%CONTEXT_ID/edit) that the adjustment to block placement and weights here would take any other potential contexts into account.
Can you provide more information about what behavior you are seeing versus what behavior you expect?
Comment #5
tekante commentedI also wanted to point you at this issue #1238580: Context edit form does not assign block weights properly. in case it describes the problem you are attempting to report (block weight is set incorrectly relative to its position when adding a block to a context). There is a patch in comment 10 in that issue that needs testing and review if that issue describes the problem you are having.
Comment #6
tekante commentedCan anyone provide information about whether this issue exists in the latest version of context and if so how to replicate?
Comment #7
tekante commentedClosing due to lack of activity and information for replication. Feel free to reopen if you are able to provide more information for reproducing the error.