Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Falsey values for raw output from overridden tags result in the original tag being called #16

Closed
thibaudcolas opened this issue Feb 19, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@thibaudcolas
Copy link
Member

In GitLab by @bcdickinson on Jan 26, 2018, 15:51

patterns/organisms/streamfield/story_block.yaml:

tags:
  story_block_extra_html_pre:
    value block:
      raw: ''

The above gets us the following warning in the logs:

No stub data defined for the "story_block_extra_html_pre" tag in the "patterns/organisms/streamfield/story_block.html" template

... and the tag errors out because the fake context doesn't provide what it expects.

@thibaudcolas
Copy link
Member Author

In GitLab by @bcdickinson on Feb 5, 2018, 09:45

closed via commit 5accf91

@thibaudcolas
Copy link
Member Author

In GitLab by @bcdickinson on Feb 5, 2018, 09:45

closed via merge request !8

@thibaudcolas thibaudcolas added bug Something isn't working and removed kind/bug labels Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants