From ffe1e4b1b0a7e8c63d1997ada9cd613463eb3beb Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Fri, 4 May 2012 21:46:25 +0000 Subject: [PATCH] A slightly modified patch from Ankit Jain "Error on View Facility Inventory Items Details Page" https://issues.apache.org/jira/browse/OFBIZ-4851 Error on https://demo-trunk.ofbiz.apache.org:8443/facility/control/ViewFacilityInventoryItemsDetails Page, when you select Report Type - "By Inventory Item" or "By Product" its throwing error. org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen component://common/widget/CommonScreens.xml#GlobalDecorator: java.lang.IllegalArgumentException: Return value from use-when condition eval was not a Boolean: null [null] on the field inventoryItemId of form ListFacilityInventoryItemsDetailsByItem (Return value from use-when condition eval was not a Boolean: null [null] on the field inventoryItemId of form ListFacilityInventoryItemsDetailsByItem) jleroux: I supposed it was related to recent changes on scripts language, but was not sure. So I searched for ${bsh:* type="Boolean"/> and found some others of the same kind: in UpdateProductFacilityLocations, FindProject, sprintBacklogListItems forms and more in scrumForms.xml. I tried with UpdateProductFacilityLocations & FindProject but surprisingly did not reproduce the problem. At this stage I gave up... Sligth changes from Ankit's patch: I simply used real ' instead of " and reformatted to make things more legible git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1334201 13f79535-47bb-0310-9956-ffa450edef68 --- applications/product/widget/facility/FacilityForms.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/product/widget/facility/FacilityForms.xml b/applications/product/widget/facility/FacilityForms.xml index a3578c47d5..73a1e57e3e 100644 --- a/applications/product/widget/facility/FacilityForms.xml +++ b/applications/product/widget/facility/FacilityForms.xml @@ -229,7 +229,7 @@ under the License. - + @@ -293,7 +293,7 @@ under the License. - +