Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0041978 | Openbravo ERP | A. Platform | public | 2019-10-10 10:42 | 2019-12-12 23:01 |
|
Reporter | alostale | |
Assigned To | alostale | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR20Q1 | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0041978: Import Entry data types without sequence should be sumbitted in last place |
Description | When Import Entry Manager submits new entries to be processed they are grouped by their type of data, these types of data are sorted among them based on their reference list's sequence number.
When they don't have any sequence number defined, 50 is arbitrarily taken.
As there are types with a sequence bigger than 50, they are place in between.
Note there are types defined in standard retail pack without sequence number:
value | seqno
-------------------------+-------
BusinessPartner | 10
BusinessPartnerLocation | 20
Order | 30
FIN_Finacc_Transaction | 40
OBPOS_App_Cashup | 60
OBMOBC_ServerMessage | 70
OBPOS_RejectQuotation | 80
OBPOS_VoidLayaway | 90
OBPOS_IsOrderCancelled |
OBPOS_CancelLayaway |
OBMOBC_TerminalLog |
VariantChDescUpdate |
OBMOBC_SynchronizedData |
OBPOS_ExternalOrder |
(14 rows)
|
Steps To Reproduce | - |
Proposed Solution | Those types without any sequence should be placed after the rest. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0040747 | | closed | alostale | Unnecessary wait in Import Entry Manager is causing lag in the processing of import entries even if resources are available |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2019-10-10 10:42 | alostale | New Issue | |
2019-10-10 10:42 | alostale | Assigned To | => platform |
2019-10-10 10:42 | alostale | OBNetwork customer | => No |
2019-10-10 10:42 | alostale | Modules | => Core |
2019-10-10 10:42 | alostale | Triggers an Emergency Pack | => No |
2019-10-10 10:42 | alostale | Assigned To | platform => alostale |
2019-10-10 10:43 | alostale | Relationship added | related to 0040747 |
2019-10-10 10:53 | alostale | Description Updated | bug_revision_view_page.php?rev_id=19460#r19460 |
2019-10-10 16:59 | alostale | Review Assigned To | => AugustoMauch |
2019-10-15 15:40 | hgbot | Checkin | |
2019-10-15 15:40 | hgbot | Note Added: 0115091 | |
2019-10-15 15:40 | hgbot | Checkin | |
2019-10-15 15:40 | hgbot | Note Added: 0115092 | |
2019-10-15 15:40 | hgbot | Checkin | |
2019-10-15 15:40 | hgbot | Note Added: 0115093 | |
2019-10-15 15:40 | hgbot | Status | new => resolved |
2019-10-15 15:40 | hgbot | Resolution | open => fixed |
2019-10-15 15:40 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a3921129c596453af53ed072005e0da5faeadb61 [^] |
2019-10-18 14:37 | AugustoMauch | Note Added: 0115170 | |
2019-10-18 14:37 | AugustoMauch | Status | resolved => closed |
2019-10-18 14:37 | AugustoMauch | Fixed in Version | => 3.0PR20Q1 |
2019-12-12 23:01 | hudsonbot | Checkin | |
2019-12-12 23:01 | hudsonbot | Note Added: 0116245 | |
2019-12-12 23:01 | hudsonbot | Checkin | |
2019-12-12 23:01 | hudsonbot | Note Added: 0116246 | |
2019-12-12 23:01 | hudsonbot | Checkin | |
2019-12-12 23:01 | hudsonbot | Note Added: 0116247 | |
Notes |
|
(0115091)
|
hgbot
|
2019-10-15 15:40
|
|
Repository: erp/devel/pi
Changeset: 8d1010cc889212d36fb75ccd35d5e411f9e89ca7
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Oct 10 14:26:44 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/8d1010cc889212d36fb75ccd35d5e411f9e89ca7 [^]
related to issue 41978: code clean up
Using stream and lambdas to make simpler list sorting with comparator.
---
M src/org/openbravo/service/importprocess/ImportProcessUtils.java
---
|
|
|
(0115092)
|
hgbot
|
2019-10-15 15:40
|
|
Repository: erp/devel/pi
Changeset: 392289cba2acf4858ddbc515adee9daaf341f1ef
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Oct 10 16:38:38 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/392289cba2acf4858ddbc515adee9daaf341f1ef [^]
related to issue 41978: keep stable order
For elements with same sequence order also by id so that a stable
order is maintained.
---
M src/org/openbravo/service/importprocess/ImportProcessUtils.java
---
|
|
|
(0115093)
|
hgbot
|
2019-10-15 15:40
|
|
Repository: erp/devel/pi
Changeset: a3921129c596453af53ed072005e0da5faeadb61
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Thu Oct 10 16:41:13 2019 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a3921129c596453af53ed072005e0da5faeadb61 [^]
fixed issue 41978: Import Entry types without sequence sumbitted in last place
Data types that do not have a sequnece number are now submitted to be
processed after all the rest.
---
M src/org/openbravo/service/importprocess/ImportProcessUtils.java
---
|
|
|
|
Code reviewed and verified |
|
|
|
|
|
|
|
|
|
|