You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacopo Cappellato <ja...@gmail.com> on 2008/05/16 10:16:09 UTC
Bug in Inventory report probably caused by recent re-factoring of delegator method calls
I've noticed that if you try to submit the form in the following screen:
https://demo.hotwaxmedia.com/facility/control/ViewFacilityInventoryByProduct?facilityId=WebStoreWarehouse
you get the following error:
Error running BSH script at [component://product/webapp/facility/WEB-
INF/actions/facility/ViewFacilityInventoryByProduct.bsh], line [135]:
Sourced file: component://product/webapp/facility/WEB-INF/actions/
facility/ViewFacilityInventoryByProduct.bsh : Error in method
invocation: Method find( org.ofbiz.entity.model.DynamicViewEntity,
org.ofbiz.entity.condition.EntityConditionList, null, null,
javolution.util.FastList, org.ofbiz.entity.util.EntityFindOptions )
not found in class'org.ofbiz.entity.GenericDelegator' : at Line: 135 :
in file: component://product/webapp/facility/WEB-INF/actions/facility/
ViewFacilityInventoryByProduct.bsh : delegator .find ( prodView ,
whereCondition , null , null , UtilMisc .toList ( "productId" ) ,
findOpts )
My guess is that this has something to do with the recent effort of
removing deprecated delegator method calls... I'll try to fix this as
soon as I have some free time... unless Scott or others will beat me
first.
Jacopo
Re: Bug in Inventory report probably caused by recent re-factoring of delegator method calls
Posted by Jacopo Cappellato <ja...@gmail.com>.
Oh great, thanks so much Scott: I was going to work on this later this
evening... but thanks for fixing this before.
Jacopo
On May 16, 2008, at 3:42 PM, Scott Gray wrote:
> Fixed in rev. 657060, thanks Jacopo
>
> 2008/5/16 Scott Gray <le...@gmail.com>:
>
>> Hi Jacopo
>>
>> I can't fix it myself at the moment (busy stuffing around with a
>> new ubuntu
>> install) but you could just revert the file back to it's previous
>> revision
>> or change the call back to delegator.findListIteratorByCondition,
>> either way
>> will fix it. Sorry for the trouble.
>>
>> Regards
>> Scott
>>
>> 2008/5/16 Jacopo Cappellato <ja...@gmail.com>:
>>
>> I've noticed that if you try to submit the form in the following
>> screen:
>>>
>>>
>>> https://demo.hotwaxmedia.com/facility/control/ViewFacilityInventoryByProduct?facilityId=WebStoreWarehouse
>>>
>>> you get the following error:
>>>
>>> Error running BSH script at
>>> [component://product/webapp/facility/WEB-INF/actions/facility/
>>> ViewFacilityInventoryByProduct.bsh],
>>> line [135]: Sourced file:
>>> component://product/webapp/facility/WEB-INF/actions/facility/
>>> ViewFacilityInventoryByProduct.bsh
>>> : Error in method invocation: Method find(
>>> org.ofbiz.entity.model.DynamicViewEntity,
>>> org.ofbiz.entity.condition.EntityConditionList, null, null,
>>> javolution.util.FastList,
>>> org.ofbiz.entity.util.EntityFindOptions ) not
>>> found in class'org.ofbiz.entity.GenericDelegator' : at Line: 135 :
>>> in file:
>>> component://product/webapp/facility/WEB-INF/actions/facility/
>>> ViewFacilityInventoryByProduct.bsh
>>> : delegator .find ( prodView , whereCondition , null , null ,
>>> UtilMisc
>>> .toList ( "productId" ) , findOpts )
>>>
>>> My guess is that this has something to do with the recent effort of
>>> removing deprecated delegator method calls... I'll try to fix this
>>> as soon
>>> as I have some free time... unless Scott or others will beat me
>>> first.
>>>
>>> Jacopo
>>>
>>>
>>
Re: Bug in Inventory report probably caused by recent re-factoring of delegator method calls
Posted by Scott Gray <le...@gmail.com>.
Fixed in rev. 657060, thanks Jacopo
2008/5/16 Scott Gray <le...@gmail.com>:
> Hi Jacopo
>
> I can't fix it myself at the moment (busy stuffing around with a new ubuntu
> install) but you could just revert the file back to it's previous revision
> or change the call back to delegator.findListIteratorByCondition, either way
> will fix it. Sorry for the trouble.
>
> Regards
> Scott
>
> 2008/5/16 Jacopo Cappellato <ja...@gmail.com>:
>
> I've noticed that if you try to submit the form in the following screen:
>>
>>
>> https://demo.hotwaxmedia.com/facility/control/ViewFacilityInventoryByProduct?facilityId=WebStoreWarehouse
>>
>> you get the following error:
>>
>> Error running BSH script at
>> [component://product/webapp/facility/WEB-INF/actions/facility/ViewFacilityInventoryByProduct.bsh],
>> line [135]: Sourced file:
>> component://product/webapp/facility/WEB-INF/actions/facility/ViewFacilityInventoryByProduct.bsh
>> : Error in method invocation: Method find(
>> org.ofbiz.entity.model.DynamicViewEntity,
>> org.ofbiz.entity.condition.EntityConditionList, null, null,
>> javolution.util.FastList, org.ofbiz.entity.util.EntityFindOptions ) not
>> found in class'org.ofbiz.entity.GenericDelegator' : at Line: 135 : in file:
>> component://product/webapp/facility/WEB-INF/actions/facility/ViewFacilityInventoryByProduct.bsh
>> : delegator .find ( prodView , whereCondition , null , null , UtilMisc
>> .toList ( "productId" ) , findOpts )
>>
>> My guess is that this has something to do with the recent effort of
>> removing deprecated delegator method calls... I'll try to fix this as soon
>> as I have some free time... unless Scott or others will beat me first.
>>
>> Jacopo
>>
>>
>
Re: Bug in Inventory report probably caused by recent re-factoring of delegator method calls
Posted by Scott Gray <le...@gmail.com>.
Hi Jacopo
I can't fix it myself at the moment (busy stuffing around with a new ubuntu
install) but you could just revert the file back to it's previous revision
or change the call back to delegator.findListIteratorByCondition, either way
will fix it. Sorry for the trouble.
Regards
Scott
2008/5/16 Jacopo Cappellato <ja...@gmail.com>:
> I've noticed that if you try to submit the form in the following screen:
>
>
> https://demo.hotwaxmedia.com/facility/control/ViewFacilityInventoryByProduct?facilityId=WebStoreWarehouse
>
> you get the following error:
>
> Error running BSH script at
> [component://product/webapp/facility/WEB-INF/actions/facility/ViewFacilityInventoryByProduct.bsh],
> line [135]: Sourced file:
> component://product/webapp/facility/WEB-INF/actions/facility/ViewFacilityInventoryByProduct.bsh
> : Error in method invocation: Method find(
> org.ofbiz.entity.model.DynamicViewEntity,
> org.ofbiz.entity.condition.EntityConditionList, null, null,
> javolution.util.FastList, org.ofbiz.entity.util.EntityFindOptions ) not
> found in class'org.ofbiz.entity.GenericDelegator' : at Line: 135 : in file:
> component://product/webapp/facility/WEB-INF/actions/facility/ViewFacilityInventoryByProduct.bsh
> : delegator .find ( prodView , whereCondition , null , null , UtilMisc
> .toList ( "productId" ) , findOpts )
>
> My guess is that this has something to do with the recent effort of
> removing deprecated delegator method calls... I'll try to fix this as soon
> as I have some free time... unless Scott or others will beat me first.
>
> Jacopo
>
>