I am using Tridion 2011 SP1 HR2. After deploying the changes for UGC with all its jars and xml changes, arabic text entered from any form on the website returns junk characters. The website worked perfectly uptil the release. We can see all data entered into DB properly but now the form submit returns junk characters In web.xml, I commented this filter-mapping
<filter-mapping> <filter-name>Ambient Data Framework</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>
After this I can see the arabic text submitted by form in the logs and saved to DB. But I get a nullpointer exception when I call syncUGCUserWithContact at these lines
What should I put in url pattern exception so that I don't get this exception? Also, my UGC content on which I need to add comment doensn't load for logged in users
com.tridion.ugc.taglib.webservice.WebServiceHelper.getUserId(WebServiceHelper.java:183) at com.tridion.ugc.taglib.ManageCommentsTag.doStartTag(ManageCommentsTag.java:128) at org.apache.jsp.data.pub10.dcp.jsp.dcp12075_005f13053_jsp._jspService(dcp12075_005f13053_jsp.java:359)
UPDATE:11/06/2014 Ok. I will keep the /*. But i don't understand how removing this pattern affected arabic form submission. I read in this article by Eric enter link description here that
Being technology agnostic ADF cannot access to technology specific objects like HttpServletRequest/HttpServletResponse or HttpContext, that is why we need a java filter or a .Net Http Module to start it.
Also I have added this is in cd_ambient_conf.xml. Should I add any other path here?
<ExcludedPaths> <Path>/httpupload</Path> <Path>/odata.svc</Path> </ExcludedPaths>
Please help. This problem is on live website