[ https://issues.apache.org/jira/browse/OFBIZ-5267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13738163#comment-13738163 ]
Taher Alkhateeb commented on OFBIZ-5267: ---------------------------------------- Hi Jacques, Ok it took me sometime to read all the code, issues, and dev-ml and try to understand what the problem is. I understood the following (please correct me if I'm wrong): # All *.rptdesign files were moved from the above mentioned components to birt component. # We have overridden the webapps for order, accounting and facility and injected requests for BIRT reports using the normal webapp overriding mechanism [mentioned in the wiki|https://cwiki.apache.org/confluence/display/OFBIZ/Addressing+Custom+Requirements+In+OFBiz#AddressingCustomRequirementsInOFBiz-ExtendinganExistingwebappOnly] # The reason for the error reported on this issue has nothing to do with BIRT. Simply put, the order reports page (which is a PortalPage) has among the portlets a report which only exists in BIRT and has no equivalent in FOP. So both the report and the screen that generates it exist only in BIRT. BUT! the PortalPage "OrderReportPage" in the database is pointing to a report screen in BIRT. Namely, the "NBO_Report" which is loaded automatically when doing a load-demo ant target. So you end up with a PortalPortlet that you don't want loaded. # One of the problems we faced is breaking the behavior of the context help because it was redirecting to the BIRT component due to overriding the webapp. So a patch was made to comment-out the overridden webapps and stop the faulty behavior in [OFBIZ-5033] # But the problem remains that we commented out the webapps from BIRT while still extending the webapps with respect to the widgets (in the portal pages), therefore, we have ghost widgets in a sense with no requests mapped to their targets. So, it seems to me like at least for this reported issue, the error is simply ghost PortalPortlets which are loaded automatically with BIRT. When you comment out the webapps while keeping the Portlets (by loading the data) you end up with the error reported on this issue. Now I have two questions before I comment on your suggestions above: # Are we commenting out the webapps in BIRT permanently or temporarily? # Am I missing another error that I am unaware of? Your focus seems to be mainly on controller files, whereas I see no relation here to controllers. Am I on the right track? > Net before overhead report generates an error > --------------------------------------------- > > Key: OFBIZ-5267 > URL: https://issues.apache.org/jira/browse/OFBIZ-5267 > Project: OFBiz > Issue Type: Bug > Components: order > Affects Versions: SVN trunk > Reporter: Pierre Smits > Fix For: SVN trunk > > > When trying to generate a 'Net Before Overhead Report' in ORDERMGR:Reports > following error is shown: > org.ofbiz.webapp.control.RequestHandlerException: Unknown request > [NetBeforeOverheadReport.pdf]; this request does not exist or cannot be > called directly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira