Openbravo Issue Tracking System - Retail Modules
View Issue Details
0056964Retail ModulesWeb POSpublic2024-11-04 15:142024-11-05 09:22
fofarril 
fofarril 
normalmajorhave not tried
closedfixed 
5
 
RR24Q2RR24Q2.5 
No
0056964: 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:14fofarrilNew Issue
2024-11-04 15:14fofarrilAssigned To => fofarril
2024-11-04 15:14fofarrilTriggers an Emergency Pack => No
2024-11-04 15:14fofarrilStatusnew => scheduled
2024-11-04 15:15fofarrilRelationship addeddepends on 0056727
2024-11-04 15:15fofarrilRelationship deleteddepends on 0056727
2024-11-04 15:15fofarrilRelationship addedrelated to 0056727
2024-11-04 15:18hgbotNote Added: 0171311
2024-11-05 09:22hgbotNote Added: 0171381
2024-11-05 09:22hgbotResolutionopen => fixed
2024-11-05 09:22hgbotStatusscheduled => closed
2024-11-05 09:22hgbotFixed in Version => RR24Q2.5
2024-11-05 09:22hgbotNote Added: 0171382

Notes
(0171311)
hgbot   
2024-11-04 15:18   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/merge_requests/28 [^]
(0171381)
hgbot   
2024-11-05 09:22   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/merge_requests/28 [^]
(0171382)
hgbot   
2024-11-05 09:22   
Directly closing issue as related merge request is already approved.

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

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

---
M src/org/openbravo/retail/config/process/IncludeAllProducts.java
---