Media picker not displaying selected images in backend
I hve multiple document types that include media picker fields. They had been working just fine; displaying in both the actual site and in the content section of the back end.
Recently, however, these fields have stopped showing the selected content in the back end, instead displaying nothing next to the field name. However, the selected image still appears on the published site. I am able to add an image to a new node, but once created the image no longer appears and I am unable to edit.
That's an odd issue - I'm wondering what exact version of Umbraco you're using?
And do you see any kind of error messages in the console log of the browser? And what about the /App_Data/Logs file? Does it contain anything marked with ERROR?
Has there been made any changes up to when this issue started to happen?
No changes to report. We had been having some issues with media folders getting very large, and having to move items around for usability. But again, the images show on the published site.
I am getting an angular error:
angular.min.js:63
TypeError: Cannot read property 'indexOf' of null
at http://relappalachia.org/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS…1RyZWVNZW51L0FjdGlvbk5ld1JlbGF0aW9uVHlwZS5qczs&t=Javascript&cdv=101:519:14
at http://relappalachia.org/umbraco/lib/underscore/underscore.js:153:20
at Array.some (native)
at _.some._.any (http://relappalachia.org/umbraco/lib/underscore/underscore.js:201:59)
at Function._.find._.detect (http://relappalachia.org/umbraco/lib/underscore/underscore.js:152:5)
at Object.getMediaPropertyValue (http://relappalachia.org/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS…1RyZWVNZW51L0FjdGlvbk5ld1JlbGF0aW9uVHlwZS5qczs&t=Javascript&cdv=101:518:85)
at Object.getImagePropertyValue (http://relappalachia.org/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS…RyZWVNZW51L0FjdGlvbk5ld1JlbGF0aW9uVHlwZS5qczs&t=Javascript&cdv=101:523:112)
at Object.getImagePropertyValue (http://relappalachia.org/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS…RyZWVNZW51L0FjdGlvbk5ld1JlbGF0aW9uVHlwZS5qczs&t=Javascript&cdv=101:528:188)
at http://relappalachia.org/DependencyHandler.axd?s=L3VtYnJhY28vbGliL2pxdWVyeS…ZWVNZW51L0FjdGlvbk5ld1JlbGF0aW9uVHlwZS5qczs&t=Javascript&cdv=101:1038:1060
at Array.forEach (native)
The log file has no ERROR messages; a few warnings that appear unrelated to me.
Media picker not displaying selected images in backend
I hve multiple document types that include media picker fields. They had been working just fine; displaying in both the actual site and in the content section of the back end.
Recently, however, these fields have stopped showing the selected content in the back end, instead displaying nothing next to the field name. However, the selected image still appears on the published site. I am able to add an image to a new node, but once created the image no longer appears and I am unable to edit.
Any thoughts? Thanks!
Hi Andrew
That's an odd issue - I'm wondering what exact version of Umbraco you're using?
And do you see any kind of error messages in the console log of the browser? And what about the /App_Data/Logs file? Does it contain anything marked with ERROR?
Has there been made any changes up to when this issue started to happen?
/Jan
I'm using 7.0.4
No changes to report. We had been having some issues with media folders getting very large, and having to move items around for usability. But again, the images show on the published site.
I am getting an angular error:
The log file has no ERROR messages; a few warnings that appear unrelated to me.
Hi Andrew
Ok, very weird indeed - My memory for potential known bugs in 7.0.4 is blurred so don't know if it might be a bug you're experiencing currently...
However I'm thinking that it would be worth trying to clear the backoffice cache and see if that helps.
Do you still get the error message in the console log after doing this? And does it affect the appearance of the images?
/Jan
is working on a reply...