Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0031564 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Openbravo ERP] A. Platform | minor | N/A | 2015-11-24 12:20 | 2015-12-07 09:38 | |||
Reporter | gorkaion | View Status | public | |||||
Assigned To | gorkaion | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR16Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 53de6573ff6e | ||||
Projection | none | ETA | none | Target Version | 3.0PR16Q1 | |||
OS | Linux 32 bit | Database | Oracle | Java version | 1.5.0_15 | |||
OS Version | Gentoo | Database version | 11g | Ant version | 1.7.0 | |||
Product Version | SCM revision | |||||||
Review Assigned To | mtaal | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0031564: Add ability to inject logic to an import entry processor when the process has finished and committed | |||||||
Description | Currently it is possible to implement ImportEntryPreProcessor to execute logic when an Import Entry is added. It should be possible to be able to implement custom logic to be executed when the Import Entry has been processed and committed. | |||||||
Steps To Reproduce | N/A | |||||||
Proposed Solution | Create an abstract ImportEntryPostProcessor class. Extend the ImportEntryProcessRunnable class to execute the classes implementing ImportEntryPostProcessor after the processEntry() has been executed. At this point the Import Entry process has finished and the commit has been done, so it is possible to add new logic. The classes are filtered by a Qualifier based on the typeOfData of the import entry. | |||||||
Tags | No tags attached. | |||||||
Attached Files | issue-31564.export [^] (4,109 bytes) 2015-11-24 14:08 | |||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0082300) hgbot (developer) 2015-11-24 16:54 |
Repository: erp/devel/pi Changeset: 53de6573ff6e36d23f2b68c8b75d47cf59540231 Author: Gorka Ion Damián <gorkaion.damian <at> openbravo.com> Date: Tue Nov 24 16:53:46 2015 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/53de6573ff6e36d23f2b68c8b75d47cf59540231 [^] Fixed issue 31564.Added ImportEntryPostProcessor hook. Added new ImportEntryPostProcessor hook. This hook is executed in the ImportEntryProcessRunnable class after the processEntry() method is called. This hook is then executed after the main Import Entry process is executed and finished and it is committed. --- M src/org/openbravo/service/importprocess/ImportEntryProcessor.java A src/org/openbravo/service/importprocess/ImportEntryPostProcessor.java --- |
(0082329) hudsonbot (developer) 2015-11-25 15:11 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/1c9b33d2091d [^] Maturity status: Test |
(0082583) mtaal (manager) 2015-12-07 09:37 |
Added small docs: http://wiki.openbravo.com/wiki/How_to_Add_Data_Synchronization_Tasks#Import_Entry_Post_Processing [^] |
(0082584) mtaal (manager) 2015-12-07 09:38 |
Reviewed |
Issue History | |||
Date Modified | Username | Field | Change |
2015-11-24 12:20 | gorkaion | New Issue | |
2015-11-24 12:20 | gorkaion | Assigned To | => gorkaion |
2015-11-24 12:20 | gorkaion | Modules | => Core |
2015-11-24 12:20 | gorkaion | Triggers an Emergency Pack | => No |
2015-11-24 13:04 | gorkaion | File Added: issue-31564.export | |
2015-11-24 13:54 | gorkaion | File Deleted: issue-31564.export | |
2015-11-24 13:54 | gorkaion | File Added: issue-31564.export | |
2015-11-24 14:08 | gorkaion | File Deleted: issue-31564.export | |
2015-11-24 14:08 | gorkaion | File Added: issue-31564.export | |
2015-11-24 16:54 | hgbot | Checkin | |
2015-11-24 16:54 | hgbot | Note Added: 0082300 | |
2015-11-24 16:54 | hgbot | Status | new => resolved |
2015-11-24 16:54 | hgbot | Resolution | open => fixed |
2015-11-24 16:54 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/53de6573ff6e36d23f2b68c8b75d47cf59540231 [^] |
2015-11-24 17:31 | mtaal | Review Assigned To | => mtaal |
2015-11-25 15:11 | hudsonbot | Checkin | |
2015-11-25 15:11 | hudsonbot | Note Added: 0082329 | |
2015-12-07 09:37 | mtaal | Note Added: 0082583 | |
2015-12-07 09:38 | mtaal | Note Added: 0082584 | |
2015-12-07 09:38 | mtaal | Status | resolved => closed |
2015-12-07 09:38 | mtaal | Fixed in Version | => 3.0PR16Q1 |
2019-06-17 17:04 | caristu | Relationship added | related to 0041109 |
Copyright © 2000 - 2009 MantisBT Group |