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
When a render array output is generated via a metadata display template, e.g. {{ data.ia_an_array_dont_uoutput_me }}, the error (see screenshot below) is not reported in the preview.
Todo:
Add a report of the KEYS used in the template v/s the JSON (basically a coverage of their use of values (from the source) in the output).
Get all keys on the selected ADO
Check their type (single value, iterable)
Rename them to data.thekeyname in a function
Parse the Twig checking how many times thekeyname is mentioned or attribute(‘thekeyname’, data) and in which lines
See for reference (no longer working due to changed interface):
What?
When a render array output is generated via a metadata display template, e.g.
{{ data.ia_an_array_dont_uoutput_me }}
, the error (see screenshot below) is not reported in the preview.Todo:
See for reference (no longer working due to changed interface):
format_strawberryfield/src/Entity/MetadataDisplayEntity.php
Lines 435 to 459 in 2e5cc2a
The text was updated successfully, but these errors were encountered: