You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Tiggerito As of now occurrences is expecting to receive substring of a type String. concat helper returns SafeString and I think that it cause the issue. We will check if we can change concat to return String.
Expected behavior
This command:
{{occurrences '|default|product|blog_post|' (concat page_type '|')}}
Should detect if the page is of one of the page types.
Actual behavior
it causes the page to time out.
Steps to reproduce behavior
Add the command to a page and then view it.
Note that these commands work fine:
{{occurrences '|default|product|blog_post|' page_type}}
{{concat page_type '|'}}
It only happens when they are combined.
The text was updated successfully, but these errors were encountered: