Skip to content

Why would inline run no matter whether condition is true or false? #5263

Answered by DjSlash
swills1 asked this question in Q&A
Discussion options

You must be logged in to vote

Oh, I see now. The item_fields and album_fields should not be within a inline: block. They are on their own. Notice how you have item_fields: {} and album_fields: {}?

So we see here two unexpected behaviors:

  • the inline plugin configuration does not have it's own section, while all other plugins do
  • undefined variables compute to true (huh?)

Replies: 3 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@swills1
Comment options

Comment options

You must be logged in to vote
5 replies
@swills1
Comment options

@DjSlash
Comment options

Answer selected by swills1
@swills1
Comment options

@RollingStar
Comment options

@DjSlash
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants