Since #2381277: Make Views use render caching and remove Views' own "output caching" removed Views render caching to use core render caching, display plugins returning a Response need to implement ResponseDisplayPluginInterface (see ViewPageController::handle(), which AutocompletionCallback does not implement, breaking Search Autocomplete entirely (exceptions).

Comments

fgm’s picture

Status: Active » Needs work
StatusFileSize
new4.63 KB

This starting patch at least removes the exceptions and various errors, although it does not return correct results yet : the renderResponse() needed by ResponseDisplayPluginInterface does not receive anything in $args, so it needs to fetch them in some way.

dom.’s picture

I identified the issue a while ago but was busy porting Simpliy module. I will have a look at this patch and check this module soon.
Thanks a lot for reporting and patch.

dom.’s picture

Status: Needs work » Needs review

Just adding reviewing for running the tests on this patch !

dom.’s picture

StatusFileSize
new8.56 KB

Here is another patch. It works on manual testing but I have an error on automated tests (the one called CallbackViewsTest). I have not found yet how to solve.

dom.’s picture

StatusFileSize
new11.34 KB

This last patch removes all warnings and logged errors, but still there is this "missing schema" on the words view of automated tests...

dom.’s picture

Status: Needs review » Fixed

Commited in dev version.

  • Dom. committed c81e7be on 8.x-1.x
    Issue #2510672 by Dom., fgm: D8 version broken by Views output changes.
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.