Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0039821Openbravo ERPA. Platformpublic2018-12-17 14:162018-12-20 12:21
alostale 
alostale 
normalminorhave not tried
closedfixed 
5
 
3.0PR19Q1 
caristu
Core
No
0039821: StackOverflowError in P&E having 100+ records selected
P&E grid with obSelected field retrieved from backend, can throw a StackOverflowError when applying a sorting if the number of selected records is bigger than page size (100).
1. Follow steps to reproduce of issue 0033622 to generate more than 100 Remittance Line records
2. Open Select Payments grid
3. Click on Document Number column header to sort by it
   -> Error: No records are displayed, a StackOverflowError is logged in openbravo.log:
2018-12-17 11:43:11,668 [http-bio-8080-exec-8] ERROR org.openbravo.service.json.DefaultJsonDataService - null
java.lang.StackOverflowError: null
    at org.openbravo.service.json.DefaultJsonDataService.fetch(DefaultJsonDataService.java:321) ~[classes/:?]
    at org.openbravo.service.json.DefaultJsonDataService.fetch(DefaultJsonDataService.java:265) ~[classes/:?]
        at org.openbravo.service.json.DefaultJsonDataService.fetch(DefaultJsonDataService.java:265) ~[classes/:?]
        ...
No tags attached.
related to defect 0033622 closed caristu Wrong behavior in Select Payment Pick/Execute Window when having >100 records selected 
Issue History
2018-12-17 14:16alostaleNew Issue
2018-12-17 14:16alostaleAssigned To => platform
2018-12-17 14:16alostaleModules => Core
2018-12-17 14:16alostaleTriggers an Emergency Pack => No
2018-12-17 14:17alostaleRelationship addedrelated to 0033622
2018-12-17 14:20alostaleSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=18047#r18047
2018-12-17 14:38hgbotCheckin
2018-12-17 14:38hgbotNote Added: 0108644
2018-12-17 14:39hgbotStatusnew => resolved
2018-12-17 14:39hgbotResolutionopen => fixed
2018-12-17 14:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b8fc66a7be6e33770dd5fb07d5ee3d1b485acabb [^]
2018-12-17 14:45alostaleReview Assigned To => caristu
2018-12-17 20:39hudsonbotCheckin
2018-12-17 20:39hudsonbotNote Added: 0108658
2018-12-20 11:18shuehnerAssigned Toplatform => alostale
2018-12-20 12:21caristuNote Added: 0108686
2018-12-20 12:21caristuStatusresolved => closed
2018-12-20 12:21caristuFixed in Version => 3.0PR19Q1

Notes
(0108644)
hgbot   
2018-12-17 14:38   
Repository: erp/devel/pi
Changeset: b8fc66a7be6e33770dd5fb07d5ee3d1b485acabb
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Dec 17 14:38:00 2018 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/b8fc66a7be6e33770dd5fb07d5ee3d1b485acabb [^]

fixed bug 39821: StackOverflowError in P&E having 100+ records selected

  Do not decrease page fetch size as it can have been increased by previous call.

---
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DefaultJsonDataService.java
---
(0108658)
hudsonbot   
2018-12-17 20:39   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/79c941a6a880 [^]
Maturity status: Test
(0108686)
caristu   
2018-12-20 12:21   
Reviewed