Openbravo Issue Tracking System - Modules
View Issue Details
0050876ModulesOpenbravo Business APIpublic2022-11-14 10:212023-06-30 10:37
jonae 
caristu 
normalminorhave not tried
closedfixed 
5
 
 
0050876: An event defined about a change in the organization does not create the EDL request to manage the event subscription
An event defined about a change in the organization does not create the EDL request to manage the event subscription
- Create a new event based on a change in the Organization entity. In this particular case, is a event in org.openbravo.retail.sessions.api module, based on the change of the status column. When the status is changed to CL, a new event is launched.
- Create an event subscription.
- Open the store in POS.
- Close the store
- The EDL request associated to the event is not created.
No tags attached.
depends on feature request 0050230 closed aferraz Retail Modules Implement open/close store process in ReactPOS 
related to defect 0048994 closed caristu Openbravo ERP Include Push API tests using mockito 
Issue History
2022-11-14 10:21jonaeNew Issue
2022-11-14 10:21jonaeAssigned To => caristu
2022-11-15 13:08jonaeRelationship addeddepends on 0050230
2022-11-18 08:10hgbotNote Added: 0143808
2022-11-23 07:31hgbotResolutionopen => fixed
2022-11-23 07:31hgbotStatusnew => closed
2022-11-23 07:31hgbotNote Added: 0144028
2022-11-23 07:31hgbotNote Added: 0144029
2023-03-27 15:44caristuRelationship addedblocks 0048994
2023-03-27 15:44caristuRelationship deletedblocks 0048994
2023-03-27 15:45caristuRelationship addedrelated to 0048994
2023-06-30 10:37hgbotNote Added: 0151939

Notes
(0143808)
hgbot   
2022-11-18 08:10   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/103 [^]
(0144028)
hgbot   
2022-11-23 07:31   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: 50dd819d77ad0a28ae88c9122bb2e14cdb72dfe2
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 22-11-2022 17:05:21
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/50dd819d77ad0a28ae88c9122bb2e14cdb72dfe2 [^]

fixes BUG-50876: events in Organization are not pushed

  When resolving the subscription for an organization based event, the
organization ID of the item was not being properly retrieved because in
this case it must be retrieved from the ID property itself.

---
M src-test/org/openbravo/api/event/ApiEventStoreTest.java
M src-test/org/openbravo/api/util/ApiTestUtils.java
M src/org/openbravo/api/event/ApiEventStore.java
M src/org/openbravo/api/event/ApiSubscriptionResolver.java
---
(0144029)
hgbot   
2022-11-23 07:31   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/103 [^]
(0151939)
hgbot   
2023-06-30 10:37   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: c7417805d23a4f964dffcfc0e6cea4b977c88208
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 30-06-2023 08:32:24
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/c7417805d23a4f964dffcfc0e6cea4b977c88208 [^]

related to ISSUE-50876: add test cases

---
M src-test/org/openbravo/api/event/ApiSubscriptionResolverTest.java
---