Openbravo Issue Tracking System - Retail Modules
View Issue Details
0056963Retail ModulesWeb POSpublic2024-11-04 15:052024-11-05 09:21
fofarril 
fofarril 
normalmajorhave not tried
closedfixed 
5
 
RR24Q3RR24Q3.3 
No
0056963: Failed to lazily initialize a collection of role: OBRETCO_ProductList.oBRETCOProductcategoryList, could not initialize proxy - n
Reproduced consistently in livebuilds in version Retail with modules.
When the preference 'WebPOS Automatically Add Product Categories to Assortment' is set to Y (by default it has this value from system) and we press the button 'Include all Products' in the window 'assortment' the following message appears:

failed to lazily initialize a collection of role: OBRETCO_ProductList.oBRETCOProductcategoryList, could not initialize proxy - no Session
 Ensure that the preference 'WebPOS Automatically Add Product Categories to Assortment' is set to 'Y'
- Go to Assortment window
- Select one assortment
- Press 'Include all Products' button
- This message will appear in red
failed to lazily initialize a collection of role: OBRETCO_ProductList.oBRETCOProductcategoryList, could not initialize proxy - no Session
No tags attached.
related to defect 0056727 closed fofarril failed to lazily initialize a collection of role: OBRETCO_ProductList.oBRETCOProductcategoryList, could not initialize proxy - n 
Issue History
2024-11-04 15:05fofarrilNew Issue
2024-11-04 15:05fofarrilAssigned To => fofarril
2024-11-04 15:05fofarrilTriggers an Emergency Pack => No
2024-11-04 15:06fofarrilRelationship addeddepends on 0056727
2024-11-04 15:06fofarrilStatusnew => scheduled
2024-11-04 15:12hgbotNote Added: 0171309
2024-11-04 15:15fofarrilRelationship deleteddepends on 0056727
2024-11-04 15:16fofarrilRelationship addedrelated to 0056727
2024-11-05 09:21hgbotResolutionopen => fixed
2024-11-05 09:21hgbotStatusscheduled => closed
2024-11-05 09:21hgbotFixed in Version => RR24Q3.3
2024-11-05 09:21hgbotNote Added: 0171379
2024-11-05 09:21hgbotNote Added: 0171380

Notes
(0171309)
hgbot   
2024-11-04 15:12   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/merge_requests/27 [^]
(0171379)
hgbot   
2024-11-05 09:21   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config [^]
Changeset: fc6d079bbe8b78542a3221ecc9c9e077a430c981
Author: Francisco Javier Deler O'Farril <francisco.ofarril@doceleguas.com>
Date: 04-11-2024 09:10:48
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/commit/fc6d079bbe8b78542a3221ecc9c9e077a430c981 [^]

Fixes ISSUE-56963: Failed to lazily initialize a collection of role:...

---
M src/org/openbravo/retail/config/process/IncludeAllProducts.java
---
(0171380)
hgbot   
2024-11-05 09:21   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/merge_requests/27 [^]