Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0056727
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2024-10-10 11:252024-11-04 09:35
Reporterhector_hernaezView Statuspublic 
Assigned Tofofarril 
PriorityhighResolutionfixedFixed in VersionRR25Q1
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0056727: failed to lazily initialize a collection of role: OBRETCO_ProductList.oBRETCOProductcategoryList, could not initialize proxy - n

DescriptionReproduced 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
Steps To Reproduce- 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
TagsNo tags attached.
Attached Filespng file icon Screenshot from 2024-10-10 11-23-52.png [^] (186,655 bytes) 2024-10-10 11:25

- Relationships Relation Graph ] Dependency Graph ]
related to backport 0056961RR24Q4 closedfofarril Failed to lazily initialize a collection of role: OBRETCO_ProductList.oBRETCOProductcategoryList, could not initialize 
related to backport 0056964RR24Q2 closedfofarril Failed to lazily initialize a collection of role: OBRETCO_ProductList.oBRETCOProductcategoryList, could not initialize proxy - n 
related to backport 0056963RR24Q3 closedfofarril Failed to lazily initialize a collection of role: OBRETCO_ProductList.oBRETCOProductcategoryList, could not initialize proxy - n 

-  Notes
(0171147)
sreehari (developer)
2024-10-30 09:55

1.The issue is reproducible always

2.But when debugging it is randomly reproduced as the execution stops at breakpoints

3.And the exeption found on line
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/blob/master/src/org/openbravo/retail/posterminal/event/ProductListEventHandler.java#L167 [^]
was "com.sun.jdi.InvocationException: Exception occurred in target VM occurred invoking method"

4.Once the error is no longer reproduced, we need to install.source to reproduce it again

5.Currently no fix worked out as the exception randomly occurs during debugging.
(0171226)
hgbot (developer)
2024-10-31 13:22

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/merge_requests/24 [^]
(0171263)
hgbot (developer)
2024-11-04 09:35

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.config/-/merge_requests/24 [^]
(0171264)
hgbot (developer)
2024-11-04 09:35

Directly closing issue as related merge request is already approved.

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

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

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

- Issue History
Date Modified Username Field Change
2024-10-10 11:25 hector_hernaez New Issue
2024-10-10 11:25 hector_hernaez Assigned To => Retail
2024-10-10 11:25 hector_hernaez File Added: Screenshot from 2024-10-10 11-23-52.png
2024-10-10 11:25 hector_hernaez Triggers an Emergency Pack => No
2024-10-18 07:53 marvintm Status new => acknowledged
2024-10-23 09:11 guillermogil Assigned To Retail => jorgewederago
2024-10-25 10:49 sreehari Assigned To jorgewederago => sreehari
2024-10-25 10:49 sreehari Status acknowledged => scheduled
2024-10-30 09:55 sreehari Note Added: 0171147
2024-10-30 09:55 sreehari Assigned To sreehari => jorgewederago
2024-10-30 09:56 sreehari Status scheduled => acknowledged
2024-10-30 14:58 fofarril Assigned To jorgewederago => fofarril
2024-10-30 15:03 fofarril Status acknowledged => scheduled
2024-10-31 13:22 hgbot Note Added: 0171226
2024-11-04 09:35 hgbot Note Added: 0171263
2024-11-04 09:35 hgbot Resolution open => fixed
2024-11-04 09:35 hgbot Status scheduled => closed
2024-11-04 09:35 hgbot Fixed in Version => RR25Q1
2024-11-04 09:35 hgbot Note Added: 0171264
2024-11-04 14:45 fofarril Relationship added related to 0056961
2024-11-04 15:06 fofarril Relationship added blocks 0056963
2024-11-04 15:15 fofarril Relationship added blocks 0056964
2024-11-04 15:15 fofarril Relationship deleted blocks 0056964
2024-11-04 15:15 fofarril Relationship added related to 0056964
2024-11-04 15:15 fofarril Relationship deleted blocks 0056963
2024-11-04 15:16 fofarril Relationship added related to 0056963


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker