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
using OC 1.7
When accessing the media field, which is part of my BlogPost ContentType by Model.Content.BlogPost-Carousel
and passing it to new shape as parameter, Anchors and MediaTexts get lost. Paths are still available.
this creates the problem: {{ "CarouselShape" | shape_new: Media: Model.Content.BlogPost-Carousel | shape_render }}
I get in CarouselShape: {{ Model.Media.Paths | json }} => Array of paths {{ Model.Media.MediaTexts | json }} => null {{ Model.Media.Anchors | json }} => null
Calling in this way works for me: {{ "CarouselShape" | shape_new: Media: Model.ContentItem.Content.BlogPost.Carousel | shape_render }}
To Reproduce
Steps to reproduce the behavior:
Create or edit a ContentType "Test", with media field called "Carousel", which allows Anchors and MediaTexts
Create a Template for ContentType "Test", named "Content__Test", which does something like this:
No, still have problems with migrating my main menu handling in 1.8 - cannot get my front end to work properly. Just a matter of time, which I don't have enough right now. Will get back to you, when I had a chance to migrate.
Describe the bug
using OC 1.7
When accessing the media field, which is part of my BlogPost ContentType by
Model.Content.BlogPost-Carousel
and passing it to new shape as parameter, Anchors and MediaTexts get lost. Paths are still available.
this creates the problem:
{{ "CarouselShape" | shape_new: Media: Model.Content.BlogPost-Carousel | shape_render }}
I get in CarouselShape:
{{ Model.Media.Paths | json }}
=> Array of paths{{ Model.Media.MediaTexts | json }}
=> null{{ Model.Media.Anchors | json }}
=> nullCalling in this way works for me:
{{ "CarouselShape" | shape_new: Media: Model.ContentItem.Content.BlogPost.Carousel | shape_render }}
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect, when Paths are available, that also MediaTexts and Anchors are available in the same way.
The text was updated successfully, but these errors were encountered: