On the configuration page for the "Responsive Image Mapping" (admin/config/media/responsive-image-mapping) the mappings are not listed when using sqlite.
I think the problem lies within the listAll() function of the DatabaseStorage.php which is using ->query() instead of ->select() and therefore the mapConditionOperator() is not applied.

Comments

mgoedecke’s picture

mgoedecke’s picture

Status: Active » Needs review
mgoedecke’s picture

Issue tags: -#amsterdam2014 +Amsterdam2014
mgoedecke’s picture

Version: 8.0.0-beta1 » 8.0.x-dev

Status: Needs review » Needs work
mgoedecke’s picture

mgoedecke’s picture

dcrocks’s picture

This was reported previously in #2267563: Uncaught SQLite failure breaks responsive images, and had been fixed by #2318191: [meta] Database tests fail on SQLite, which is currently waiting re-roll. The latter has the same fix as yours butI would be happy to get either in. Testing your patch soon.

dcrocks’s picture

Status: Needs work » Needs review

Built new clone of D8.0, applied patch successfully, solved problem.

dcrocks’s picture

Status: Needs review » Reviewed & tested by the community

This works.

mgoedecke’s picture

Ah ok - didn't find the other issue when i searched the issue queue.
Thanks for testing!

alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed 7cb8425 and pushed to 8.0.x. Thanks!

  • alexpott committed 7cb8425 on 8.0.x
    Issue #2349789 by markus_g: Fixed Responsive Image Mappings are not...
mgoedecke’s picture

Glad to help :-)

Status: Fixed » Closed (fixed)

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