Closed (fixed)
Project:
Wysiwyg API template plugin
Version:
8.x-2.2
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Dec 2019 at 13:41 UTC
Updated:
3 Jan 2020 at 17:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
rory downes commentedI managed to make my installation work by the attached patch, changing the definition of the getDescription method to not be type specific in both the Template.php and the TemplateInterface.php files. I am sure that this is not the final solution though and I wonder why this method is being called when creating a new template!
Comment #3
jurgenhaasOh, that's interesting in a case where an entity gets initialized. However, we should keep the return type hints and I suggest you give this code snippet a try:
Let me know if that works for you.
Comment #4
rory downes commentedGood thinking. That works. I attach a new patch.
Comment #6
jurgenhaasThanks for your feedback @Rory Downes, I've published new release 2.3
Comment #7
rory downes commented