Example in JSON WebService api documentation fails on portlets
Description
relates
Activity
Show:
Fixed
Details
Assignee
Michael SaechangMichael Saechang(Deactivated)Reporter
Igor SpasicIgor Spasic(Deactivated)Branch Version/s
6.1.xBackported to Branch
CommittedComponents
Affects versions
Priority
Medium
Details
Details
Assignee

Reporter

Branch Version/s
6.1.x
Backported to Branch
Committed
Components
Affects versions
Priority
Zendesk Support
Linked Tickets
Zendesk Support
Linked Tickets
Zendesk Support

Linked Tickets
Created February 29, 2012 at 5:28 AM
Updated June 24, 2023 at 4:01 PM
Resolved June 1, 2012 at 1:16 PM
When portlet example is invoked from json ws api doc pages, it fails. This happens because URL is wrongly created.
The core issue is in this file: portal\portal-web\docroot\html\portal\api\jsonws\action.jsp
in the following block (line #344):
As you see, context path and action path are joined, but this is wrong. For example, instead of the correct url:
the wrong one is invoked:
Liferay.Service should add support for context, i.e. for plugins.