Openbravo Issue Tracking System - Modules | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0054937 | Modules | Openbravo Business API | public | 2024-03-13 11:32 | 2024-04-17 11:31 | ||||||||||||||
Reporter | malsasua | ||||||||||||||||||
Assigned To | caristu | ||||||||||||||||||
Priority | high | Severity | major | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | |||||||||||||||||||
Target Version | Fixed in Version | ||||||||||||||||||
Merge Request Status | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Regression level | |||||||||||||||||||
Review Assigned To | |||||||||||||||||||
Support ticket | |||||||||||||||||||
OBNetwork customer | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Summary | 0054937: EDL error using ReadOnly database with Business API events | ||||||||||||||||||
Description | when EDL is configured to use the ReadOnly db: Openbravo.properties: bbdd.readonly.url=xxxx in the flow Send Business API Event, if the synchronization between the primary and the replica nodes is slow, an error is raised (attached the whole error trace): ERROR org.openbravo.externaldata.integration.process.AsynchronousProcessor - Unexpected error processing item org.openbravo.base.exception.OBException: Could not export data for record with ID A6FACEAC7AA61347420F98C6BB9A96BF at org.openbravo.api.edl.ApiEventItemProcessor.lambda$exportItem$0(ApiEventItemProcessor.java:85) ~[classes/:?] Executing again, the EDL works The problem is the ticket was processed but it was not synced yet to the replica db node | ||||||||||||||||||
Steps To Reproduce | . in local env, duplicate the db: -> create database miDB2 template miDB; . configure Openbravo.properties to use a readOnly: bbdd.readonly.url=jdbc:postgresql://localhost:5432 [^] bbdd.readonly.sid=miDB2 bbdd.readonly.user=tad bbdd.readonly.password=tad . configure to use Send Business API - RETAPCO_OrderCreation . in POS -> complete a ticket . in BO -> go to EDL -> edl record was created in error | ||||||||||||||||||
Proposed Solution | |||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | stackTrace.log (5,062) 2024-03-13 11:32 https://issues.openbravo.com/file_download.php?file_id=19540&type=bug codeError.png (50,108) 2024-03-13 11:33 https://issues.openbravo.com/file_download.php?file_id=19541&type=bug | ||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2024-03-13 11:32 | malsasua | New Issue | |||||||||||||||||
2024-03-13 11:32 | malsasua | Assigned To | => Triage Platform Base | ||||||||||||||||
2024-03-13 11:32 | malsasua | Modules | => Core | ||||||||||||||||
2024-03-13 11:32 | malsasua | Triggers an Emergency Pack | => No | ||||||||||||||||
2024-03-13 11:32 | malsasua | File Added: stackTrace.log | |||||||||||||||||
2024-03-13 11:33 | malsasua | File Added: codeError.png | |||||||||||||||||
2024-03-13 11:34 | malsasua | Description Updated | bug_revision_view_page.php?rev_id=27677#r27677 | ||||||||||||||||
2024-03-13 11:37 | caristu | Project | Openbravo ERP => Modules | ||||||||||||||||
2024-03-13 11:39 | caristu | Assigned To | Triage Platform Base => Triage Platform Conn | ||||||||||||||||
2024-03-13 11:39 | caristu | Category | A. Platform => Openbravo Business API | ||||||||||||||||
2024-03-13 11:41 | malsasua | Summary | EDL error using ReadOnly database => EDL error using ReadOnly database with Business API events | ||||||||||||||||
2024-03-14 08:35 | hgbot | Note Added: 0162130 | |||||||||||||||||
2024-03-18 10:06 | adrianromero | Assigned To | Triage Platform Conn => caristu | ||||||||||||||||
2024-04-05 12:51 | hgbot | Note Added: 0162884 | |||||||||||||||||
2024-04-05 12:51 | hgbot | Resolution | open => fixed | ||||||||||||||||
2024-04-05 12:51 | hgbot | Status | new => closed | ||||||||||||||||
2024-04-05 12:51 | hgbot | Note Added: 0162885 | |||||||||||||||||
2024-04-09 09:37 | adrianromero | Issue cloned | 0055135 | ||||||||||||||||
2024-04-09 09:37 | adrianromero | Relationship added | related to 0055135 | ||||||||||||||||
2024-04-17 11:31 | adrianromero | Issue cloned | 0055217 | ||||||||||||||||
2024-04-17 11:31 | adrianromero | Relationship added | related to 0055217 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|