Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Incompatibilities with five.pt #16

Closed
rodfersou opened this issue Sep 1, 2015 · 3 comments
Closed

Incompatibilities with five.pt #16

rodfersou opened this issue Sep 1, 2015 · 3 comments

Comments

@rodfersou
Copy link
Member

As we notice into these issues (zopefoundation/five.pt#5 and malthe/chameleon#59) we have some incompatibilities with five.pt and chameleon.

In summary, plone.app.imaging is waiting for a list while chameleon uses a tuple instead as an speed optimization.

In this issue, we should make plone.app.imaging accept a tuple as an argument.

@rodfersou rodfersou changed the title Incompatibilities with five.pt Incompatibilities with five.pt Sep 1, 2015
@hvelarde
Copy link
Member

I confirm the issue only happens when using the traversal variant; so, this will fail:

<img tal:replace="structure context/@@images/image/mini" />

but this works:

<img tal:define="scales context/@@images"
     tal:replace="structure python: scales.tag('image', scale='mini')"
     />

@mauritsvanrees
Copy link
Sponsor Member

Fixed in 1.0.12 and 2.0.1.

@rodfersou
Copy link
Member Author

@mauritsvanrees thank you very much

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants