Symptom
Value of item type CorsConfigurationProperty can not be saved in Backoffice when it's greater than 255 characters, leading to a similar error to below one:
Logs similar to below one can be seen after reproducing the error:
{"instant":{"epochSecond":1714726793,"nanoOfSecond":152799802},"thread":"hybrisHTTP3","level":"ERROR","loggerName":"com.hybris.cockpitng.widgets.baseeditorarea.DefaultEditorAreaController","message":"Object 8796093055776 could not be saved","thrown":{"commonElementCount":0,"localizedMessage":"Object {objectID} could not be saved","message":"Object {objectID} could not be saved","name":"com.hybris.cockpitng.dataaccess.facades.object.exceptions.ObjectSavingException","cause":{"commonElementCount":121,"localizedMessage":"org.springframework.dao.DataIntegrityViolationException: query; SQL []; String or binary data would be truncated in table 'XXXXXX-XXXXXX-XX-db.dbo.corsconfigproperty', column 'p_value'. |
Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental.
Read more...
Environment
SAP Commerce Cloud
Product
SAP Commerce Cloud all versions
Keywords
Backoffice, can not save, Unexpected error, cannot, exceed, big, hybris, ccv2, CORS, key , KBA , CEC-SCC-PLA-PL , Platform , Problem
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.