You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2012/05/04 23:57:48 UTC

[jira] [Issue Comment Edited] (OFBIZ-4851) Error on View Facility Inventory Items Details Page

    [ https://issues.apache.org/jira/browse/OFBIZ-4851?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13268733#comment-13268733 ] 

Jacques Le Roux edited comment on OFBIZ-4851 at 5/4/12 9:57 PM:
----------------------------------------------------------------

======== EDIT: used { noformat } for special chars =========
Thanks Ankit,

Your (slightly modified) patch is in trunk at r1334201  

{noformat} 
Sligth changes from your patch: I simply used real ' instead of &quot; and reformatted to make things more legible. 
I tried also to replace &amp; by & but Xerces complained, not sure what the logic is here...
{noformat} 

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...


                
      was (Author: jacques.le.roux):
    Thanks Ankit,

You slightly modified patch is in trunk at r1334201  

Sligth changes from your patch: I simply used real ' instead of &quot; and reformatted to make things more legible. I tried also to replace &amp; by & but Xerces complained, not sure what the logic is here...

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...


                  
> Error on View Facility Inventory Items Details Page
> ---------------------------------------------------
>
>                 Key: OFBIZ-4851
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4851
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: SVN trunk
>            Reporter: Ankit Jain
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-4851.patch
>
>
> 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)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira