Skip to content

allow empty dynamic blocks with ConfigModeAttr#21549

Merged
jbardin merged 1 commit intomasterfrom
jbardin/empty-dynamic-attr
Jun 1, 2019
Merged

allow empty dynamic blocks with ConfigModeAttr#21549
jbardin merged 1 commit intomasterfrom
jbardin/empty-dynamic-attr

Conversation

@jbardin
Copy link
Copy Markdown
Member

@jbardin jbardin commented May 31, 2019

If a dynamic block is evaluated zero times, the body content will
contain 0 blocks. Allow the probe for ConfigModeAttr to accept that no
blocks with a matching attribute should still be converted to a block if
they are called with dynamicExpand.

Fixes #21373

If a dynamic block is evaluated zero times, the body content will
contain 0 blocks. Allow the probe for ConfigModeAttr to accept that no
blocks with a matching attribute should still be converted to a block if
they are called with dynamicExpand.
@jbardin jbardin requested a review from a team May 31, 2019 21:31
@jbardin jbardin merged commit ebc2e5f into master Jun 1, 2019
@jbardin jbardin deleted the jbardin/empty-dynamic-attr branch June 1, 2019 17:01
@ghost
Copy link
Copy Markdown

ghost commented Jul 25, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@ghost ghost locked and limited conversation to collaborators Jul 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0.12 "dynamic" blocs fail with empty iterator

2 participants