Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0031761Openbravo ERP04. Warehouse managementpublic2015-12-22 11:102015-12-22 13:10
VictorVillar 
aferraz 
immediatemajoralways
closedfixed 
5
 
 
VictorVillar
Core
No
0031761: Not possible to launch the org.openbravo.fix.stock.qtyorderonhand module if you have more than 100 inventory lines
Not possible to launch the org.openbravo.fix.stock.qtyorderonhand module if you have more than 100 inventory lines.
ERROR org.hibernate.LazyInitializationException - failed to lazily initialize a collection of role: ADClient.clientInformationList, no session or session was closed
org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: ADClient.clientInformationList, no session or session was closed
    at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:383)
    at org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:375)
    at org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:368)
    at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:111)
    at org.hibernate.collection.PersistentBag.get(PersistentBag.java:445)
    at org.openbravo.materialmgmt.InventoryCountProcess.processInventory(InventoryCountProcess.java:232)
    at org.openbravo.materialmgmt.InventoryCountProcess.processInventory(InventoryCountProcess.java:129)
    at org.openbravo.fix.stock.qtyorderonhand.FixStockQtyOrderProcess.fixWrongStock(FixStockQtyOrderProcess.java:178)
    at org.openbravo.fix.stock.qtyorderonhand.FixStockQtyOrderProcess.doExecute(FixStockQtyOrderProcess.java:61)
    at org.openbravo.service.db.DalBaseProcess.execute(DalBaseProcess.java:80)
    at org.openbravo.erpCommon.ad_actionButton.ActionButtonJava_Responser.processBD44BA85107448D1BC1653F35D7A45B3(ActionButtonJava_Responser.java:3659)
    at org.openbravo.erpCommon.ad_actionButton.ActionButtonJava_Responser.doPost(ActionButtonJava_Responser.java:342)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at org.openbravo.base.HttpBaseServlet.serviceInitialized(HttpBaseServlet.java:225)
    at org.openbravo.base.secureApp.HttpSecureAppServlet.service(HttpSecureAppServlet.java:446)
    at org.openbravo.erpCommon.ad_actionButton.ActionButtonJava_Responser.service(ActionButtonJava_Responser.java:55)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.utils.SessionExpirationFilter.doFilter(SessionExpirationFilter.java:66)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.utils.CharsetFilter.doFilter(CharsetFilter.java:35)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.openbravo.client.kernel.KernelFilter$1.doAction(KernelFilter.java:62)
No tags attached.
related to defect 00311863.0PR16Q1 closed aferraz org.openbravo.fix.stock.qtyorderonhand module is not working with negative stock 
Issue History
2015-12-22 11:10VictorVillarNew Issue
2015-12-22 11:10VictorVillarAssigned To => aferraz
2015-12-22 11:10VictorVillarModules => Core
2015-12-22 11:10VictorVillarResolution time => 1450998000
2015-12-22 11:10VictorVillarTriggers an Emergency Pack => No
2015-12-22 11:10VictorVillarIssue Monitored: networkb
2015-12-22 11:10VictorVillarRelationship addedrelated to 0031186
2015-12-22 11:12VictorVillarSummaryNot possible to launch the org.openbravo.fix.stock.qtyorderonhand module if you have more than 100 warehouses => Not possible to launch the org.openbravo.fix.stock.qtyorderonhand module if you have more than 100 inventory lines
2015-12-22 11:12VictorVillarDescription Updatedbug_revision_view_page.php?rev_id=10523#r10523
2015-12-22 13:08hgbotCheckin
2015-12-22 13:08hgbotNote Added: 0082934
2015-12-22 13:08hgbotStatusnew => resolved
2015-12-22 13:08hgbotResolutionopen => fixed
2015-12-22 13:08hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.fix.stock.qtyorderonhand/rev/cd0ec1bab5edf896c297fec982ac461788ba496c [^]
2015-12-22 13:09aferrazReview Assigned To => aferraz
2015-12-22 13:09aferrazNote Added: 0082935
2015-12-22 13:09aferrazStatusresolved => closed
2015-12-22 13:10aferrazReview Assigned Toaferraz => VictorVillar

Notes
(0082934)
hgbot   
2015-12-22 13:08   
Repository: erp/pmods/org.openbravo.fix.stock.qtyorderonhand
Changeset: cd0ec1bab5edf896c297fec982ac461788ba496c
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Tue Dec 22 12:46:31 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.fix.stock.qtyorderonhand/rev/cd0ec1bab5edf896c297fec982ac461788ba496c [^]

Fixes issue 31761: Error when you have more than 100 inventory lines

---
M src/org/openbravo/fix/stock/qtyorderonhand/FixStockQtyOrderProcess.java
---
(0082935)
aferraz   
2015-12-22 13:09   
Fixed in version 1.0.300 of the module.