Closed daramousk closed 5 years ago
@NL66278 Check my latest changes, I have created two migration functions that take care of everything
@daramousk Looks great. From a philosophical point of view the migration of the pure Ari stuff might go into an Ari module, but I guess this is used by Ari only anyway.
Did you test the migration and the working of the rules after migration? In that case I could merge
@NL66278 I seems that in order for this to execute I have to remove set noupdate="0"
once and then revert it after the migration happens because it does not run when it is 1. Other than that the rules seem to run ok. Still I will ask for client to test again
@daramousk I was already a bit afraid of the noupdate flag.
You might leave out the noupdate flag altogether, but where you search for journals to update include the criterium that sales_channel must not already have been set. (To prevent phony updates).
@NL66278 Well the no update flag should have worked properly. In any case I have removed it and added the extra case in the domain.
OK, now just waiting for positive test results.
@NL66278 Client tested and approved. See the relevant ticket.
@NL66278
get_proper_channel
is used in the rules like this '@get_proper_channel@` When this is deployed I have to modify some rules on production by adding and extra clause that contains this call