Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.x-dev
Component:
block displays
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jan 2009 at 21:04 UTC
Updated:
14 Feb 2009 at 14:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
deviantintegral commentedHere is the patch and my exported view:
Comment #2
merlinofchaos commentedThis also required some fixes to view cloning to prevent attachment displays from destroying some of the original. This might fix other bugs elsewhere as well.
Comment #3
karens commentedThis patch completely destroyed the calendar module which is nothing but a bunch of attachments, and now none of the attachments work :(
Now instead of a view and an attachment I get a double view with no attachment. This patch changed the state of the view at the time it is attached and reversed the order of processing of the main view and the attachment, in addition to changing the point in the processing when the view is attached.
At first I thought it was just the Calendar module, but I am unable to get a simple attached view of nodes to work, so I think this patch has a problem.
Comment #4
karens commentedHere's a simple archive view where I tried to add an attachment, but the attachment won't show up.
Comment #5
merlinofchaos commentedKaren: Try this patch on the current dev
Comment #6
karens commentedWhew! Yes, that worked for me. I didn't re-run update.php so that part of the patch didn't do anything, but the other part did. Should I re-run update.php too?
Comment #7
merlinofchaos commentedOh no, don't run instlal.php; in fact that part of the patch was an error that I didn't even realize I had (must've not noticed which window I was working in).
Comment #8
kinaya commentedTrying to figure out merlinofchaos response.. Should I only use half of the patch in #5, to change things in views.inc, and don't change anything in views.install?
Comment #9
Jeremy Toaster commentedAny idea when this will be fixed and committed to a new tarball release? My Calendar has been non functioning since Jan 7th.
Comment #10
karens commentedI found an additional problem when using exposed filters in a view -- if I add an attachment to the view I get two views of the exposed filters and no attachment. I don't have a clean example to show you but I thought I'd just see if you have a quick and obvious answer to that. If you need more details I'll try to get back and create an example that behaves that way.
This is after making the above fix, so it's an additional problem.
Comment #11
karens commentedComment #12
karens commented@Jeremy, your best bet is to revert to the latest stable release of Views until this is fixed. Both the original issue I reported and the newer one I just found with exposed filters work correctly if I just jump back to a Views version prior to Jan 5.
Comment #13
Jeremy Toaster commentedOk Karen,
I've have just done that, the mini calendar is back, but nothing shows up it in, the calendar posts or content, flushed everything and even tried republishing some items and still nothing.
Is there something else I should try?
jeremy
Comment #14
merlinofchaos commentedKaren: I can't get the attachment/exposed filter thing to happen like you suggest in #10; it may be more complex than simply having exposed filters on.
The patch that was here was already committed, at least. By mistake but it worked.
Comment #15
karens commentedI don't see problems any more in the latest code, so I think it's fixed. Thanks!
@Jeremy, your issue is specific to Calendar, not a Views issue, so I'm marking this one fixed.
Comment #16
Jeremy Toaster commentedI think my problems make be fixed as well, I just reverted all the Calendar stuff back to default and rebuilt all my Views of it. I believe some DATE changes were causing issues on what it should display as some terms had changed. So far everything seems to be showing back up now, so you can mark that other one fixed as well.