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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0052654
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Retail Modules] Retail APImajorhave not tried2023-06-02 12:062023-09-07 15:33
Reporterazzeddine_meftohView Statuspublic 
Assigned Tocaristu 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0052654: push API "Stock Transactions: Inventory" missing some goods transactions in the exported data

Descriptionexample seen :
- the process request that should have extracted the goods transaction :
2023-06-01 16:47:00.071 - Event API_StockTransactionI successfully triggered. Parameters: {lastUpdated=2023-05-29 17:54:17.0, nextLastUpdated=Mon May 29 17:57:17}

- the goods transaction that has not been extracted
created "2023-05-29 17:57:11.647177"
updated "2023-05-29 17:57:11.647177"
processed "2023-05-29 17:57:19"



is this the same issue a described in the Mantis 51906,
the trxprocessdatehapening after the updated timestamp has impact on the extraction?
Steps To Reproduce- the process request that should have extracted the goods transaction :
2023-06-01 16:47:00.071 - Event API_StockTransactionI successfully triggered. Parameters: {lastUpdated=2023-05-29 17:54:17.0, nextLastUpdated=Mon May 29 17:57:17}

- the goods transaction that has not been extracted
created "2023-05-29 17:57:11.647177"
updated "2023-05-29 17:57:11.647177"
processed "2023-05-29 17:57:19"
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0051906 closedAtulOpenbravo Modules RM-5506 Missing goods transaction in the push API sent by "Multiple Record Event Triggering Process" 

-  Notes
(0153588)
hgbot (developer)
2023-08-17 13:16

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/172 [^]
(0154592)
hgbot (developer)
2023-09-07 15:33

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: ca229b691979f3536a0890676db745efcde457b1
Author: Carlos Aristu <carlos.aristu@openbravo.com>
Date: 07-09-2023 14:42:59
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/ca229b691979f3536a0890676db745efcde457b1 [^]

fixes BUG-52654: add configurable last updated offset

  Add a configurable offset to be applied to the time range of the
records exported by the ApiMultiRecordEventTriggeringProcess to avoid
losing those records that are part of a transaction commited out of that
time range.

  This offset if subtracted to the end date ("nextLastUpdated"
parameter) of the filter used in the current process execution and to
the start date ("lastUpdated" parameter) of the filter used in the next
process execution.

  The offset can be configured both at process level (Process Request
header) or at a specific event level (Events to Integrate) subtab. The
configuration at event level takes precedence over the one at process
level. If the offset is null or zero, then no amount of time is
subtracted to the time range, so the process keeps behaving like so far.

---
A src-test/org/openbravo/api/process/ApiMultiRecordEventTriggeringProcessTest.java
M src-db/database/model/modifiedTables/AD_PROCESS_REQUEST.xml
M src-db/database/model/tables/API_PROCESS_EVENT.xml
M src-db/database/sourcedata/AD_COLUMN.xml
M src-db/database/sourcedata/AD_ELEMENT.xml
M src-db/database/sourcedata/AD_FIELD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-test/org/openbravo/api/StandaloneTestSuite.java
M src/org/openbravo/api/process/ApiMultiRecordEventTriggeringProcess.java
---
(0154593)
hgbot (developer)
2023-09-07 15:33

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/172 [^]

- Issue History
Date Modified Username Field Change
2023-06-02 12:06 azzeddine_meftoh New Issue
2023-06-02 12:06 azzeddine_meftoh Assigned To => Triage Platform Conn
2023-06-02 12:06 azzeddine_meftoh Triggers an Emergency Pack => No
2023-06-19 09:36 guillermogil Assigned To Triage Platform Conn => guillermogil
2023-06-19 09:36 guillermogil Assigned To guillermogil => Triage Omni OMS
2023-06-19 09:45 aferraz Assigned To Triage Omni OMS => Triage Omni WMS
2023-06-23 11:32 rafaroda Relationship added related to 0051906
2023-06-26 08:41 mtaal Assigned To Triage Omni WMS => Triage Platform Base
2023-06-26 09:14 AugustoMauch Assigned To Triage Platform Base => Triage Platform Conn
2023-06-27 10:09 adrianromero Assigned To Triage Platform Conn => Retail
2023-06-27 10:12 adrianromero Assigned To Retail => Triage Platform Conn
2023-06-27 10:19 adrianromero Assigned To Triage Platform Conn => caristu
2023-07-24 12:31 alostale Type defect => design defect
2023-08-17 13:16 hgbot Note Added: 0153588
2023-09-07 15:33 hgbot Resolution open => fixed
2023-09-07 15:33 hgbot Status new => closed
2023-09-07 15:33 hgbot Note Added: 0154592
2023-09-07 15:33 hgbot Note Added: 0154593


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker