-
Type:
Bug
-
Status: Closed
-
Resolution: No Longer Reproducible
-
Affects Version/s: 5.2.X EE, 6.0.4 GA, 6.0.5 GA, 6.0.12 EE, 6.1.0 CE RC1
-
Fix Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
-
Component/s: Legacy, Legacy > Extension Environment
-
Labels:None
-
Environment:Tomcat 6.0 + MySQL 5. 6.0.x Revision 84096.
Tomcat 6.0 + MySQL 5. 6.1.x Revision 84096.
Tomcat 6.0 + MySQL 5. 5.2.x Revision 84096.
-
Fix Priority:4
When you create a service in ext via the build-service target it creates a service.js in docroot/WEB-INF/ext-web/docroot/html/js/liferay/
When this file copied to the ROOT war it will overwrite the existing service.js file which contains references the javascript interfaces exposed by the liferay portal
The result is that none of the portal's json services can be called anymore and things like the autosuggest functionality for tags stop working
A possible fix could be to change
<jvmarg value="-Dservice.json.file=docroot/WEB-INF/ext-web/docroot/html/js/liferay/service.js" />
to
<jvmarg value="-Dservice.json.file=docroot/WEB-INF/ext-web/docroot/html/js/liferay/ext_service.js" />