Openbravo Issue Tracking System - Retail Modules
View Issue Details
0056961Retail ModulesWeb POSpublic2024-11-04 14:292024-11-05 09:22
fofarril 
fofarril 
normalmajorhave not tried
closedfixed 
5
 
RR24Q4RR24Q4 
No
0056961: Failed to lazily initialize a collection of role: OBRETCO_ProductList.oBRETCOProductcategoryList, could not initialize
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 14:29fofarrilNew Issue
2024-11-04 14:29fofarrilAssigned To => fofarril
2024-11-04 14:29fofarrilTriggers an Emergency Pack => No
2024-11-04 14:45fofarrilRelationship addedrelated to 0056727
2024-11-04 15:02hgbotNote Added: 0171308
2024-11-04 15:04fofarrilStatusnew => scheduled
2024-11-05 09:22hgbotNote Added: 0171383
2024-11-05 09:22hgbotResolutionopen => fixed
2024-11-05 09:22hgbotStatusscheduled => closed
2024-11-05 09:22hgbotFixed in Version => RR24Q4
2024-11-05 09:22hgbotNote Added: 0171384

Notes
(0171308)
hgbot   
2024-11-04 15:02   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/merge_requests/26 [^]
(0171383)
hgbot   
2024-11-05 09:22   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/merge_requests/26 [^]
(0171384)
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: 88a71b3f2e4704383662d9f3778e5c2f991dd6a0
Author: Francisco Javier Deler O'Farril <francisco.ofarril@doceleguas.com>
Date: 05-11-2024 08:22:09
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/commit/88a71b3f2e4704383662d9f3778e5c2f991dd6a0 [^]

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

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