Project:
| View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
| ID | ||||||||
| 0058201 | ||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
| feature request | [Modules] Openbravo Business API | minor | have not tried | 2025-03-11 12:48 | 2025-04-04 14:13 | |||
| Reporter | caristu | View Status | public | |||||
| Assigned To | caristu | |||||||
| Priority | high | Resolution | duplicate | Fixed in Version | ||||
| Status | closed | Fix in branch | Fixed in SCM revision | |||||
| Projection | none | ETA | none | Target Version | ||||
| OS | Any | Database | Any | Java version | ||||
| OS Version | Database version | Ant version | ||||||
| Product Version | SCM revision | |||||||
| Merge Request Status | open | |||||||
| Regression date | ||||||||
| Regression introduced by commit | ||||||||
| Regression level | ||||||||
| Review Assigned To | ||||||||
| Support ticket | ||||||||
| OBNetwork customer | No | |||||||
| Regression introduced in release | ||||||||
| Summary | 0058201: Support triggering Push API events from DAL observers for newly created records | |||||||
| Description | Currently is not supported to trigger Push API event from a DAL observer (event handler) for newly created records | |||||||
| Steps To Reproduce | 1) Create a DAL observer, i.e., a class extending EntityPersistenceEventObserver with a method to be executed when a new record is created 2) Implement the method by triggering a Push API event: onSave(@Observes EntityNewEvent event) { ... if (!isValidEvent(event)) { return; } final BaseOBObject bob = (BaseOBObject) event.getTargetInstance(); SynchronizationEvent.getInstance().triggerEvent("TEST_Event", bob.getId()); } 3) Create an event subscription for the Push API event triggered by the observer 4) Create a new record so the new observer is executed. Note that no event is eventually sent. | |||||||
| Tags | No tags attached. | |||||||
| Attached Files | ||||||||
Relationships [ Relation Graph ]
[ Dependency Graph ]
|
|
Notes |
|
|
(0176666) hgbot (developer) 2025-03-11 13:20 |
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/openbravo/-/merge_requests/1581 [^] |
|
(0176681) hgbot (developer) 2025-03-11 17:14 |
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.api/-/merge_requests/443 [^] |
|
(0177715) AugustoMauch (administrator) 2025-04-04 14:13 |
Exported to Jira: https://openbravo.atlassian.net/browse/RM-17003 [^] |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2025-03-11 12:48 | caristu | New Issue | |
| 2025-03-11 12:48 | caristu | Assigned To | => caristu |
| 2025-03-11 12:48 | caristu | OBNetwork customer | => No |
| 2025-03-11 13:20 | hgbot | Merge Request Status | => open |
| 2025-03-11 13:20 | hgbot | Note Added: 0176666 | |
| 2025-03-11 17:14 | hgbot | Note Added: 0176681 | |
| 2025-04-04 14:13 | AugustoMauch | Note Added: 0177715 | |
| 2025-04-04 14:13 | AugustoMauch | Status | new => closed |
| 2025-04-04 14:13 | AugustoMauch | Resolution | open => duplicate |
| Copyright © 2000 - 2009 MantisBT Group |