Skip to content

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

@thibaudcolas

Description

@thibaudcolas

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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions