Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
node system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Mar 2012 at 03:47 UTC
Updated:
2 May 2015 at 21:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
swentel commentedyeah, this one is old :)
2 patches. First patch should trigger 1 fail and 1 notice. Second patch should solve the problem and clear the invalid filter in the session.
Comment #2
dotman commentedI just started to have the same issue, only with Drupal 7.12. the sequence was:
1. I had a content type called Events used for Full Calendar
2. I created a new content type called Calendar Events using Date Tools
3. Hooked that to my view in place of the old content type
4. deleted all the content from the old content type "Events"
5 then deleted the content type Events.
Now when I go to list content, nothing is listed and i get the error:
Notice: Undefined index: events in node_filter_form() (line 159 of /Applications/MAMP/htdocs/mirc/modules/node/node.admin.inc).
The site still runs and I am able to add content, but cannot filter at all. would the above patch work for drupal 7.12 as well? Any ideas what casued this?
thanks.
Comment #3
swentel commentedPlease keep this on 8.x where it needs to be fixed first. If the patch applies to 7.x it will also remove the notice, but let's wait first what other people think of the patch.
Comment #4
videographics commentedI'm just confirming that I did see this message after deleting a content type on 7.14. But, in my situation, the filters seems to be working again and the message is gone.
Comment #5
swentel commentedChanging title, will re-roll in a minute.
Comment #6
swentel commentedComment #8
swentel commentedGood to see you can't delete content types anymore when there are nodes :)
Comment #9
swentel commentedThis is not valid anymore in D8
Comment #10
mgiffordPatch no longer applies. They are all for D8 so would need to be rolled for D7.
Comment #11
dcam commentedClosed #1822572: Reset filter form after the value filtered upon has been deleted as a duplicate.