Bug in Inventory report probably caused by recent re-factoring of delegator method calls

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug in Inventory report probably caused by recent re-factoring of delegator method calls

Jacopo Cappellato-3
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

Reply | Threaded
Open this post in threaded view
|

Re: Bug in Inventory report probably caused by recent re-factoring of delegator method calls

Scott Gray
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 <[hidden email]>:

> 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
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Bug in Inventory report probably caused by recent re-factoring of delegator method calls

Scott Gray
Fixed in rev. 657060, thanks Jacopo

2008/5/16 Scott Gray <[hidden email]>:

> 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 <[hidden email]>:
>
> 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
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Bug in Inventory report probably caused by recent re-factoring of delegator method calls

Jacopo Cappellato-3
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 <[hidden email]>:
>
>> 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 <[hidden email]>:
>>
>> 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
>>>
>>>
>>