Closed (fixed)
Project:
Focal Point
Version:
8.x-1.x-dev
Component:
Other Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
12 Dec 2019 at 20:00 UTC
Updated:
12 Feb 2020 at 16:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
ugolek commentedPatch is attached.
Comment #3
ugolek commentedComment #4
ankush_03Adding updated patch !
Remove direct service calls, add renderer service as an dependency injection.
Comment #5
ankush_03Comment #6
bleen commentedExcept for the minor whitespace issue in #4 this looks good to me ... I'd like at least one other review and Im ready to commit this
Comment #7
berdirthis in theory drops cacheability information, but afaik this is a backend and POST-only (at least until ajax will support GET) request, so it's not cached anyway. So probably fine :)
Note. render() isn't technically deprecated but should be. The real difference here is changing $renderer->render() to $renderer->renderPlain()
Comment #9
bleen commented