Taint installed apps until the directory is selected
authorTim Düsterhus <duesterhus@woltlab.com>
Tue, 9 Mar 2021 09:41:33 +0000 (10:41 +0100)
committerTim Düsterhus <duesterhus@woltlab.com>
Tue, 9 Mar 2021 09:55:02 +0000 (10:55 +0100)
commitfc2b721517646af2e4d901d95eeba802c1eb6a7d
tree68d26a49c39b50f5304f3b3a7f647db4a491e5d4
parent806f62cd27afacf7283559cc82e6ad58801977ee
Taint installed apps until the directory is selected

The row in wcf1_application is created very early in the installation process,
even before the application directory is selected. This causes it to contain
bogus data. Now when pressing F5 during the folder section for whatever reason
the application technically is installed, but it's not usable due to the
missing XXXCore class. When the cache is being cleared this will brick the
whole community.

Taint apps until a proper application directory is selected. This reduces the
time window for human error, because it's likely that the `file` PIP runs very
soon after.
wcfsetup/install/files/lib/system/package/PackageInstallationDispatcher.class.php