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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0031564
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. PlatformminorN/A2015-11-24 12:202015-12-07 09:38
ReportergorkaionView Statuspublic 
Assigned Togorkaion 
PrioritynormalResolutionfixedFixed in Version3.0PR16Q1
StatusclosedFix in branchFixed in SCM revision53de6573ff6e
ProjectionnoneETAnoneTarget Version3.0PR16Q1
OSLinux 32 bitDatabaseOracleJava version1.5.0_15
OS VersionGentooDatabase version11gAnt version1.7.0
Product VersionSCM revision 
Review Assigned Tomtaal
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0031564: Add ability to inject logic to an import entry processor when the process has finished and committed

DescriptionCurrently 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 ReproduceN/A
Proposed SolutionCreate 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.
TagsNo tags attached.
Attached Files? file icon issue-31564.export [^] (4,109 bytes) 2015-11-24 14:08

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0041109 newTriage Platform Base Improvements in ImportEntryPreProcessor/ImportEntryPostProcessor 

-  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
Powered by Mantis Bugtracker