Active
Project:
Auto Expire
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jan 2012 at 01:09 UTC
Updated:
18 Feb 2014 at 10:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
grasmash commentedI'm experiencing the same error when adding the extend views field. Also:
"Notice: Undefined index: entity type in views_handler_field_entity->init() (line 38 of [path]/sites/all/modules/views/handlers/views_handler_field_entity.inc)."
Comment #2
grasmash commentedThis still needs a bit of work to be really functional. I don't have time to roll a patch right now, but here's what the views class needs to be (in views_handler_field_auto_expire_link_extend.inc):
You'll also need to add this to auto_expire_views_data() in auto_expire_views.inc:
Also note that if you do not set the 'warn' integer to something above 0, the extend link will not be generated. This is a little odd, since you may want to allow users to extend expiration without forcing them to be warned via email.
Comment #3
chrisckJust checking in to see if there has been any sort of solution to this yet? It would be great to have the extend link on a view of a user's own nodes.
Comment #4
ishworthapaliya commentedCreated a patch according to the changes mentioned in #2, working nicely for me.