plone/plone.app.caching — pull request #3 by ebrehault (2012-11-14 09:05:54+00:00)
Title: ramcache transformIterable mustn't return None if it reads the iterable input

Currently https://github.com/plone/plone.app.caching/blob/master/plone/app/caching/operations/ramcache.py#L46
makes `''.join(result)` and then return `None`, so the iterable is consummed, and we get nothing instead.

It is causing the https://dev.plone.org/ticket/12038 bug .

It should actually return a new iterable containing the previous content.

The corresponding integration between plone.app.theming and plone.app.caching is here:
https://github.com/plone/plone.app.theming/tree/ebrehault_fix_12038
(I can move it in plone.app.caching, but I think it makes more sense to let this test on the theming side).