When adding the 'Print link' field to a view, a 'Broken handler' error is shown.
This is because the hander id of the field-specific views handler is wrong. The correct id is entity_print_link per entity_print_views/src/Plugin/views/field/PrintLink.php whereas the id that is searched for is entity_print_views_link as can be seen in entity_print_views.module, which is for the area plugin, and already exposed via entity_print_views.views.inc
Resolution:
Replace the id 'entity_print_views_link' in entity_print_views.module with the correct id: 'entity_print_link'.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | Before_patch_Entity Print_2.png | 213.03 KB | krina.addweb |
| #3 | Before_patch_Entity Print.png | 79.47 KB | krina.addweb |
| #3 | After_patch_Entity Print_2.png | 82.81 KB | krina.addweb |
| #3 | After_patch_Entity Print.png | 97.51 KB | krina.addweb |
| #2 | 3075927_entity_specific_print_link.patch | 689 bytes | neograph734 |
Comments
Comment #2
neograph734Comment #3
krina.addweb commented@Neograph734, Thanks for explaining the error & providing the patch, I reviewed it using simplytest.me & followed the same steps & got the error, which is now clear using your patch. PFA
Comment #4
lamp5Patch works, thanks!
Comment #5
tame4tex commentedSimple patch that fixes the issue. Would be good to get this merged in as the handler is unusable without this fix.
Comment #6
larowlanFixed