Skip to content

Competing tag/context config for image provides inconsistent result #135

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

Closed
thibaudcolas opened this issue Nov 3, 2020 · 1 comment
Closed
Labels
bug Something isn't working django Related to Django templates capabilities
Milestone

Comments

@thibaudcolas
Copy link
Member

Issue Summary

Initially reported by @tombola, sounds similar to something I’ve seen other reports of but we need a detailed example to reproduce.

If an image tag is assigned to a target value in the YAML, then an image: True is required in the context YAML in order for the template to test if the image exists. If an image tag is not assigned to a target value, then image: True in the context config breaks the template. Encountered recently, not exhaustively tested. Linked to helen's error message item above.

Steps to Reproduce

TBD

@thibaudcolas thibaudcolas added bug Something isn't working django Related to Django templates capabilities labels Nov 3, 2020
@thibaudcolas thibaudcolas added this to the Nice to have milestone Nov 3, 2020
@thibaudcolas
Copy link
Member Author

Fixed in #141 :)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working django Related to Django templates capabilities
Projects
None yet
Development

No branches or pull requests

1 participant