I’ve cloned a configuration in one of our projects, and the next day noticed the event handlers of the cloned configuration were not correctly configured - they were disabled and not set for the stage I originally set them up for.
I tried over and over again to reproduce the issue but couldn’t - I finally fixed the differences manually.
Later on, while exploring the UI - I found the Event Log and in it there were a couple of events that seem to be related:
I tested a bit and found that if I modify a stage (add an action to it for example)
then any event handlers related to that stage are disabled by the system.
The error shown in the event log is:
Issue with build event handler while updating stages for configuration ‘Clone Test’: Build event handler ‘PrevGitCommitId Persist Event Handler’ has been disabled as it references a stage which no longer exists.
Build event handler ‘PrevRevision Persist Event Handler’ has been disabled as it references a stage which no longer exists.
Is this a bug?
If a stage was modified I would still like the event handlers related to it to remain enabled/active.
In my case and as far as I know this is only related to event handlers, but this possibly could be effecting other sections which I’m not aware of / not using at the moment.
Also - when cloning the configuration obviously this mistake (disabled event handlers) comes along to the clone.
Plus, for some reason although I am subscribed to “Admin event log private message” under User Preference - Subscriptions via Groups (this subscription can’t be edited or disabled) -
I did not receive any private message (and as can be seen in the screenshot there were few events in the event log)