[19.0][IMP] edi_core_oca: skip exchange types w/o handler in cron domains#273
Conversation
|
Wondering: why is it possible to handle an exc type w/o handler? It should be validated beforehand... We should make specific validators required based on the direction. |
11c86d7 to
960d553
Compare
8d1870f to
c20e67c
Compare
That makes more sense, cleaner implementation, thanks for the advice |
c20e67c to
bcb249e
Compare
bcb249e to
9abf705
Compare
9abf705 to
4db716b
Compare
4db716b to
2134f83
Compare
|
@simahawk it follows your suggested approach |
|
This PR has the |
|
@HviorForgeFlow I think you miss the part "specific validators required based on the direction." What about adding validation and fixing the data the you have?
WDYT? |
Noticed while developing that when a exchange type is not linked to a handler and the EDINotImplementedError is raised, a DB rollback takes places undoing all previous work.
To ensure that skipping not handled exchanges does not break anything outside the cron scope I had to slightly change the exchange_generate_send method.
CC @etobella @simahawk @ForgeFlow