Closed (fixed)
Project:
Pathauto integration for all Entity Types
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Jan 2012 at 21:31 UTC
Updated:
17 Nov 2013 at 22:10 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
juampynr commentedHere is a patch that adds Bulk update support for custom entities.
For deleting aliases, the custom entities should declare hook_path_alias_types() in order to add there their custom patterns to be then searched and deleted in the database.
Comment #2
kimwes commentedPatch in #1 didn't work for me because there was incorrect usage of array_slice and entity_load. Here's a rerolled patch from #1 where these problems are fixed. Otherwise patch seemed to work correctly.
Comment #3
diwant commentedTried #2, works. Thanks kimwes and juampy.
Comment #4
Renee S commentedConfirmed, this works for me also. Thanks so much! (Note: It did bork on Field Collections, and I hadn't set an alias pattern; I don't want them aliased anyway...)
Comment #5
maciej.zgadzaj commentedThis has been merged into Pathauto Entity in my sandbox (a fork of this module).
Should we mark it as fixed here then?