Closed (fixed)
Project:
References dialog
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Apr 2012 at 16:30 UTC
Updated:
17 May 2012 at 21:10 UTC
references_dialog_entityreference_edit_link() calls references_dialog_get_admin_path() with NULL as the $bundle parameter, this means that edit links that contain [bundle] will not be reformatted correctly. This can be seen after applying the patch in #1359078: Add compatibility with ECK module and referencing an ECK entity via an entity reference field.
The attached patch attempts to discover the bundle via the supplied entity if no bundle name is explicitly supplied.
| Comment | File | Size | Author |
|---|---|---|---|
| references_dialog-entityreference-edit-path.patch | 659 bytes | longwave |
Comments
Comment #1
fabsor commentedGreat idea, I don't see why that could hurt. Commited!