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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0053792
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] A. Platformmajorhave not tried2023-10-27 10:002023-10-31 08:39
ReporteralostaleView Statuspublic 
Assigned Tocberner 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget VersionPR23Q4
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression levelPackaging and release
Regression date2023-08-21
Regression introduced in releasemain
Regression introduced by commit    https://gitlab.com/openbravo/product/openbravo/-/commit/03fa452e48c60b06e2f1a70f29a093bbf07004d0 [^]
Triggers an Emergency PackNo
Summary

0053792: failed non-blocking EDL requests remain in Initial status

DescriptionWhen an non-blocking EDL request fails to be processed, it remains in Initial status instead of being marked to Error.
Steps To Reproduce1. Configure an External System with HTTP-Backed type pointing to an invalid URL
2. Subscribe that External System to the Web POS Order Creation event
3. Create an Order in POS. The push API event will expectedly fail as not being able to communicate with the external system
4. Check the EDL Request
   EXPECTED: the header and line should be marked as error
   ERROR: they are in initial status
5. Check openbravo.log:
   2023-10-27 09:59:50,235 [ForkJoinPool.commonPool-worker-3] ERROR org.openbravo.externaldata.integration.process.ProcessRequest - Error updating status: Request = 6D48751C7A6C4B79A87064DB7B495718, Request Line = 082E620465E24F32AEA3DA325DA40F9B, Status = Error
java.lang.NullPointerException: null
    at org.openbravo.dal.service.OBDal.checkReadAccess(OBDal.java:745) ~[classes/:?]
    at org.openbravo.dal.service.OBDal.checkReadAccess(OBDal.java:736) ~[classes/:?]
    at org.openbravo.dal.service.OBDal.get(OBDal.java:365) ~[classes/:?]
    at org.openbravo.externaldata.integration.process.ProcessRequest.updateRequestLineAndRequestStatus(ProcessRequest.java:737) ~[classes/:?]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0053784 closedcberner failed non-blocking EDL requests remain in Initial status 

-  Notes
(0156517)
hgbot (developer)
2023-10-31 08:31

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/merge_requests/34 [^]
(0156518)
hgbot (developer)
2023-10-31 08:39

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration [^]
Changeset: 5b62dce36570baa726fb6d5dca0bec21bd289fb2
Author: Cristian Berner <cristian.berner@openbravo.com>
Date: 31-10-2023 08:30:16
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/commit/5b62dce36570baa726fb6d5dca0bec21bd289fb2 [^]

Fixes ISSUE-53792: failed non-blocking EDL requests remain in Initial status

The requests were kept in initial due to some errors when handling
non-blocking EDLs errors. It was missing to set the proper context.

---
M src/org/openbravo/externaldata/integration/process/EDLImportEntryProcessor.java
M src/org/openbravo/externaldata/integration/process/ProcessRequest.java
---
(0156519)
hgbot (developer)
2023-10-31 08:39

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.externaldata.integration/-/merge_requests/34 [^]

- Issue History
Date Modified Username Field Change
2023-10-30 08:07 alostale Type defect => backport
2023-10-30 08:07 alostale Target Version => PR23Q4
2023-10-31 07:19 ivancaceres Issue Monitored: ivancaceres
2023-10-31 08:31 hgbot Note Added: 0156517
2023-10-31 08:39 hgbot Resolution open => fixed
2023-10-31 08:39 hgbot Status scheduled => closed
2023-10-31 08:39 hgbot Note Added: 0156518
2023-10-31 08:39 hgbot Note Added: 0156519


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker