_auto_entitylabel_patternprocessor() assumes that the entity bundle name is always found at $entity->type, which is the case only for node entity types. Should use API function entity_extract_ids() instead. Patch follows.
| Comment | File | Size | Author |
|---|---|---|---|
| #7 | 2824344-7.patch | 744 bytes | joelpittet |
Comments
Comment #2
peterpoe commentedComment #3
joelpittetThanks @peterpoe
Comment #4
anybodyPerfect, thank you!
Comment #5
joelpittetStill using this patch, it's working well. Noticed some new commits to bumping;)
Comment #6
joelpittetRe-rolled with some tweaks to match upstream changes. No need to use isset() since they are passed through as params so they are always set, except NULL so we can test for actual values instead.
Comment #7
joelpittetLeft a bit of whitespace lint on that last patch.
Comment #8
renatog commentedHi guys.
I applied the patch and works good for me.
Thank you very much @joelpittet.
Good Work.
Regards.
Comment #10
renatog commentedFixed.
Committed to the dev branch.
Thank you very much for contribution guys.
Regards.