Update the pending packages after the plugin nodes were built
authorTim Düsterhus <duesterhus@woltlab.com>
Fri, 25 Nov 2022 11:31:35 +0000 (12:31 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Fri, 25 Nov 2022 11:53:10 +0000 (12:53 +0100)
commit2406351b19c5fac66b8413ba1f6660a376b7e18f
tree1e38f9426318200c479dda966251b46f1000be4c
parentd4cccb2f304d54011c1cb59de7005ff7668be4ba
Update the pending packages after the plugin nodes were built

Previously the `buildPluginNodes()` step in PackageInstallationNodeBuilder
would attempt to find update instructions for the *target* version, instead of
the source version. We must move the update of the pending packages below this
step to fix this. It also makes sense, because only once the plugin nodes have
been built (and thus executed) the package logically is on the new version.

see 5df3e65185d4d3f1be7464b1999b949946a5c765
wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php