Media picker is null with nested content umbraco 13
Hi,
I created a data type of media picker ( only 1 image , and only svg) and gave it a name "selectedImage"
then i created a block with a block list.
I created a block list item. as a content block
and then i added the data type from 1 to block list item #3 that i added to #2.
i also added textbox, colour picker to the block list item #3/
then i set the block list to have mandatory 6 block list items.
when i add the nested content to the page in the backoffice with the images,
and i publish the page , all the properties from #5 are filled in except the the values from the media picker. the property "selectedImage" is filled in for the first item in the block list but null for the rest of the other block list items.
I''m new to umbraco and not sure if i've done anything wrong. are nested content not allowed to have images ?
Can anybody point me in the right direction please? i.e. how do i debug what's going on?
never mind . - after going out a walk to clear my brain,
i browsed the forums and found out from another post in the forums it might have been the indexes/caches.
sure enough, i went to the examine indexes and rebuilt them - that didn't work.
then i went to the database cache, memory cache - and reloaded them.
one of them worked. not sure if it was the memory or the database cache.
so i now have the media property filled in.
Media picker is null with nested content umbraco 13
Hi,
I created a data type of media picker ( only 1 image , and only svg) and gave it a name "selectedImage"
then i created a block with a block list.
I created a block list item. as a content block
and then i added the data type from 1 to block list item #3 that i added to #2.
i also added textbox, colour picker to the block list item #3/
then i set the block list to have mandatory 6 block list items.
when i add the nested content to the page in the backoffice with the images,
and i publish the page , all the properties from #5 are filled in except the the values from the media picker. the property "selectedImage" is filled in for the first item in the block list but null for the rest of the other block list items.
I''m new to umbraco and not sure if i've done anything wrong. are nested content not allowed to have images ?
Can anybody point me in the right direction please? i.e. how do i debug what's going on?
Many thanks,
never mind . - after going out a walk to clear my brain,
i browsed the forums and found out from another post in the forums it might have been the indexes/caches.
sure enough, i went to the examine indexes and rebuilt them - that didn't work.
then i went to the database cache, memory cache - and reloaded them. one of them worked. not sure if it was the memory or the database cache. so i now have the media property filled in.
is working on a reply...