In AEM communities, if we create a new blog with message of length greater than 512, it appends junk sentences in the message and breaks the UI.
Checking this with AEM Communities experts!!
Hi pankajs52169461 ,
Can you please confirm which srp are you using and what version of AEM are you on ? If you are using dsrp , then a similar issue has been fixed and the fix will be delivered as a part of 18.104.22.168 cfp .
I am using DSRP and AEM 6.2.
I fixed the issue.
The issue is in class "com.adobe.cq.social.datastore.rdb.impl.DSRPUtil.java" that belongs to JAR "cq-social-rdb-provider-1.1.19.jar".
In "populateBlob" method, I replaced some part of code with below line:
String cqdata = trimNull(IOUtils.toString(blobStream, "UTF-8"));
and it worked.