Forum Discussion
angela
7 years agoCatalyst II
Hi Andreas,
interesting solution! I made some tests with onBeforeAdd, but never came to the idea of using onBeforeUpdate.
I can confirm, that your solution works for new item versions created by CM-processes.
We also allow manual revising parts on certain conditions (change of major_rev, minor_rev and generation). The above solution will not work for these ones, but it´s not a big issue to extend Methods like PE_CreateNewRevision.
Your code helps to avoid additional customizations in the transition handlers. I have customized them so often, I really don´t want to do it again. So your solution is big help!
Thanks and best regards!
Angela