Symptom
In CMS cockpit , when try to uplpload a CSS with CMSImageComponent, the url is not generated.
Console log shows following error:
ERROR [Thread-47] [UploadMediaSecondPageController] Could not execute 'finalizeWizard', reason:
java.lang.IllegalStateException: Use getStringData() instead
at org.zkoss.util.media.AMedia.newIllegalStateException(AMedia.java:319) ~[zcommon-3.6.4.jar:3.6.4]
at org.zkoss.util.media.AMedia.getStreamData(AMedia.java:303) ~[zcommon-3.6.4.jar:3.6.4]
at de.hybris.platform.cockpit.wizards.media.UploadMediaSecondPageController.createNewMedia(UploadMediaSecondPageController.java:96) ~[cockpitserver.jar:?]
at de.hybris.platform.cockpit.wizards.media.UploadMediaSecondPageController.done(UploadMediaSecondPageController.java:49) [cockpitserver.jar:?]
at de.hybris.platform.cockpit.wizards.Wizard.doDone(Wizard.java:530) [cockpitserver.jar:?]
at de.hybris.platform.cockpit.wizards.generic.GenericItemWizard.doDone(GenericItemWizard.java:680) [cockpitserver.jar:?]
Read more...
Environment
SAP Hybris Commerce All Versions
Product
Keywords
- CSS upload
- CMSImageComponent
- StringData
- StreamData
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.