Closed (fixed)
Project:
Web Experience Toolkit (7.x)
Version:
7.x-4.x-dev
Component:
WetKit Core
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
7 May 2015 at 15:19 UTC
Updated:
9 Aug 2015 at 21:54 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sylus commentedWe actually use linkit UUID rendering dialog instead of uuid link which is more treated as a fallback. An argument might be made for removing UUID link at some point since linkit handles it now for us.
Comment #2
sylus commentedActually I am wrong there are a few people using this fallback so might as well take the patch.
Comment #3
sylus commentedComment #4
sylus commentedFixed.
Comment #8
joseph.olstadThere was a type-o in patch number 3, the variable '$type' should have been '$entity_type'. The new patch resolves the error "Undefined variable: type in uuid_link_form_post_render()" please take the new patch.
See drupal.org API docs the function entity_label() takes '$entity_type' as a parameter, not '$type'
See attached patch (patch 8) and interdiff.
I will also report this upstream in uuid_link as they'll have to update the dev branch upstream as well.
Sylus, please update wetkit_core.make for 4.x and 1.x branches with the updated patch in patch 8
GDaw and I tested the new patch and it is good.
Comment #9
joseph.olstadComment #10
joseph.olstadincluding patch for 4x and 1x wetkit_core.make file (needs backporting to 1.x )
Thanks
Comment #11
joseph.olstadinterdiff between patch #3 and patch #8
One line change
Before:
After:
so undefined variable $type (passed as a parameter to entity_label()
should be $entity_type
Thanks
Comment #12
sylus commentedCommitted and attributed.