You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (Jira)" <ji...@apache.org> on 2024/02/22 08:34:00 UTC
[jira] [Comment Edited] (OFBIZ-12910) Unknown request [stream]; this request does not exist or cannot be called directly.
[ https://issues.apache.org/jira/browse/OFBIZ-12910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17819524#comment-17819524 ]
Jacques Le Roux edited comment on OFBIZ-12910 at 2/22/24 8:33 AM:
------------------------------------------------------------------
Hi Deepak,
Why not just adding in webtools/controller.xml file ?
{code:xml}
<request-map uri="stream">
<security https="true" auth="true"/>
<event type="java" path="org.apache.ofbiz.content.data.DataEvents" invoke="serveObjectData"/>
<response name="success" type="none"/>
<response name="error" type="view" value="error"/>
<response name="io-error" type="none"/>
</request-map>
{code}
Disclaimer: did not test
was (Author: jacques.le.roux):
Hi Deepak,
Why not just adding in webtools/controller.xml file ?
{code}
<request-map uri="stream">
<security https="true" auth="true"/>
<event type="java" path="org.apache.ofbiz.content.data.DataEvents" invoke="serveObjectData"/>
<response name="success" type="none"/>
<response name="error" type="view" value="error"/>
<response name="io-error" type="none"/>
</request-map>
{code}
> Unknown request [stream]; this request does not exist or cannot be called directly.
> -----------------------------------------------------------------------------------
>
> Key: OFBIZ-12910
> URL: https://issues.apache.org/jira/browse/OFBIZ-12910
> Project: OFBiz
> Issue Type: Bug
> Components: webtools
> Reporter: Deepak Dixit
> Priority: Minor
>
> Getting following request while accessing webtools
> This error generated only when Rainbow theme selected.
> {quote}org.apache.ofbiz.webapp.control.RequestHandlerException: Unknown request [stream]; this request does not exist or cannot be called directly.
> {quote}
>
> Steps to regenerate:
> * Upload the logo impage from party component for logged in user.
> * Go to webtools/control/main
>
> This is due to missing commonext controller.xml entry in webtools.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)