esmero / strawberryfield

A Field of strawberries
GNU Lesser General Public License v3.0
10 stars 5 forks source link

Dealing with Layout Builder + Views + no Search API driven Views (SQL) mixed with Search API views #318

Closed DiegoPino closed 4 months ago

DiegoPino commented 5 months ago

What?

For many reasons a lot of our code assumes our standard deployment. Search API driven views, no layout builders. But bug reports have come from attempts (on mixed scenarios and using extensions/modules) of Search API results with embedded SQL ones.

There will be other issues, but this one handles on specific, an alter here

https://github.com/esmero/strawberryfield/blob/6d54fd90a94d8a977e3437850a16be9aa218a20c/strawberryfield.module#L342-L344

I am assuming blindly that the node, when the view property and lazy loading is enabled has

Solution. Check on every accessor. Pull coming

DiegoPino commented 4 months ago

Fixed via https://github.com/esmero/strawberryfield/commit/0d0635c5973f6364935ca8d6904c087b0d31329c