Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Sep 2009 at 14:02 UTC
Updated:
28 Oct 2010 at 20:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
steven jones commentedThis might be an issue with Views rather than Context.
Need to check.
Comment #2
steven jones commentedThis an issue with views.
Add a view, add a block display, add the block to a region, export the view, disable the view. Block still shows.
Comment #3
esmerel commentedFwiw, you can't disable the view unless it's one of the defaults - are you deleting the view?
Comment #4
esmerel commentedNevermind - I confirmed it using the archive view, and merlin says that the correct flag isn't being checked on render, so it's a bug
Comment #5
dawehnerThats an easy patch :)
Comment #6
merlinofchaos commentedI glanced at this yesterday, it seems like it would be *best* to put the check inside view::access() itself. Any disabled view is automatically not accessible, no matter the source yes?
We could then actually remove a bunch of other enabled/disabled checks.
Comment #7
dawehnerThis makes more sence, definitive.
Comment #8
dawehnerSo needs work.
Comment #9
dawehnerUpdate
Comment #10
merlinofchaos commentedCommitted to all branches. Thanks!