[
https://issues.apache.org/jira/browse/OFBIZ-7119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15299913#comment-15299913
]
Pranay Pandey commented on OFBIZ-7119:
--------------------------------------
Hi Deepak,
Here is the code block from Trunk from CmsEvents class which is uncommented in
R15.12 and allowing the current setup to work:
{code}
// get the contentId/mapKey from URL
/* We use path aliases for everything anyway, so don't interpret
the pathInfo as contentId.
* This makes 404 pages much faster.
if (contentId == null) {
if (Debug.verboseOn()) Debug.logVerbose("Current PathInfo: " +
pathInfo, module);
String[] pathSplit = pathInfo.split("/");
if (Debug.verboseOn()) Debug.logVerbose("Split pathinfo: " +
pathSplit.length, module);
contentId = pathSplit[0];
if (pathSplit.length > 1) {
mapKey = pathSplit[1];
}
}
*/
{code}
With current setup in Trunk we'll need to add PathAliases to all the pages to
make them work. Please let me know your thoughts on it.
> cmssite not working
> -------------------
>
> Key: OFBIZ-7119
> URL: https://issues.apache.org/jira/browse/OFBIZ-7119
> Project: OFBiz
> Issue Type: Bug
> Components: specialpurpose/cmssite
> Affects Versions: Trunk
> Reporter: Pranay Pandey
> Assignee: Pranay Pandey
> Attachments: CMSS_DEMO_PAGE1.png, CMSS_DEMO_SCREEN.png, demoPage1.png
>
>
> While referring specialpurpose cmssite component I found it not working.
> After trying many combinations of URLs I picked from CmsSiteDemoData.xml,
> it's always returning cmsSite : 404 Not Found. Please refer attached
> screenshots.
> Urls I tried:
> http://localhost:8080/cmssite/cms/CMSS_DEMO_PAGE1
> http://localhost:8080/cmssite/cms/CMSS_PPOINT/demoPage1
> http://localhost:8080/cmssite/cms/CMSS_DEMO_SCREEN
> I will look into the issue and provide the patch for the same.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)