Closed
Description
Steps to reproduce:
-
Specify custom pull event class extending
SourceControl.Git.PullEventHandler.Default
w/ some write output inOnPull()
during
d ##class(SourceControl.Git.API).Configure()
-
Pull change from git upstream to verify that the output is shown
-
Open
Git > Settings
and save -
Pull other change from git upstream - custom pull handler is no longer in place
Activity
isc-tleavitt commentedon Jun 30, 2023
@copperschnack good find, thanks for reporting this.
isc-tleavitt commentedon Sep 21, 2023
Solution: Settings UI needs to dynamically populate the dropdown based on existing subclasses of SourceControl.Git.PullEventHandler (see %Dictionary.ClassDefinition:SubclassOf) rather than being hardcoded to the two we ship.