Find DAO by ID instead of just calling the constructor and setting the ID
authorJens Schuppe <schuppe@systopia.de>
Fri, 29 Jul 2022 13:47:28 +0000 (15:47 +0200)
committerJens Schuppe <schuppe@systopia.de>
Fri, 29 Jul 2022 13:47:28 +0000 (15:47 +0200)
commitee81a274b52b5d320c207bf9f2fbd1ce7c569603
tree2ee3aa11fa61f210186fef941d97349a596165e4
parentc75c0f2e7fcf06b5eb47664e75641121e361a6cf
Find DAO by ID instead of just calling the constructor and setting the ID

Otherwise, finding references might fail because of missing entity values when comparing, e.g. `option_group_id` for OptionVaue BAOs.
Civi/Api4/Generic/ExportAction.php