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
Bug summary: record.taxonomy arrays return differently in preview mode, in turn breaking taxonomies outputs in theme files.
Specifics: setFromPost() at C:/MAMP/htdocs/nuffieldtrust.org.uk/vendor/bolt/bolt/src/Controller/Frontend.php::210
Combined with the taxonomy loop at C:/MAMP/htdocs/nuffieldtrust.org.uk/vendor/bolt/bolt/src/Storage/Entity/ContentValuesTrait.php::482
Steps to reproduce:
Create a taxonomy with terms that have multiple words, tag some content.
Dump out record.taxonomy to see the values don't match up.
This in turn is causing issues as record.taxonomy is being used to show taxonomies and breaks under preview.
Expected result:
To receive the same array values as when viewing a published item .
Actual result:
The "slug" values of each taxonomy are returned / displayable.
The text was updated successfully, but these errors were encountered:
Details
Reproduction
Bug summary:
record.taxonomy
arrays return differently in preview mode, in turn breaking taxonomies outputs in theme files.Specifics:
setFromPost()
atC:/MAMP/htdocs/nuffieldtrust.org.uk/vendor/bolt/bolt/src/Controller/Frontend.php::210
Combined with the taxonomy loop at
C:/MAMP/htdocs/nuffieldtrust.org.uk/vendor/bolt/bolt/src/Storage/Entity/ContentValuesTrait.php::482
Create a taxonomy with terms that have multiple words, tag some content.
Dump out record.taxonomy to see the values don't match up.
This in turn is causing issues as record.taxonomy is being used to show taxonomies and breaks under preview.
To receive the same array values as when viewing a published item .
The "slug" values of each taxonomy are returned / displayable.
The text was updated successfully, but these errors were encountered: