- Betroffene Version
- WoltLab Suite 5.4
- Betroffene App
- WoltLab Suite Core
XML
<instructions type="install">
<instruction type="file" />
<instruction type="template" />
<instruction type="acpTemplate" />
<instruction type="database">acp/database/install_com.example.foo.php</instruction>
<instruction type="file" />
<instruction type="myPip" />
</instructions>
=>
Code
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'shop-config.inc.php' for key 'applicationFile'
#0 */lib/system/database/statement/PreparedStatement.class.php (126):
PDOStatement->execute()
#1 */lib/system/package/plugin/FilePackageInstallationPlugin.class.php (78):
wcf\system\database\statement\PreparedStatement->execute()
#2 */lib/system/package/PackageInstallationDispatcher.class.php (792):
wcf\system\package\plugin\FilePackageInstallationPlugin->install()
#3 */lib/system/package/PackageInstallationDispatcher.class.php (153):
wcf\system\package\PackageInstallationDispatcher->executePIP()
#4 */lib/acp/action/InstallPackageAction.class.php (82):
wcf\system\package\PackageInstallationDispatcher->install()
#5 */lib/action/AbstractDialogAction.class.php (73):
wcf\acp\action\InstallPackageAction->stepInstall()
#6 */lib/action/AbstractAction.class.php (53):
wcf\action\AbstractDialogAction->execute()
#7 */lib/system/request/Request.class.php (89):
wcf\action\AbstractAction->__run()
#8 */lib/system/request/RequestHandler.class.php (119):
wcf\system\request\Request->execute()
#9 */acp/index.php (11):
wcf\system\request\RequestHandler->handle()
Alles anzeigen
Die Vorgehensweise kam mir als Idee für einen Workaround für ein anderes Problem, daher den Sinn einfach nicht hinterfragen. Ein Fehler ist es dennoch; es sollte geprüft werden, ob die Datei(en) bereits registriert ist/sind.