- Affected App
- WoltLab Suite Forum
Ich arbeite an einer Applikation, die eine Ableitung von VersionableDatabaseObject erstellt. Bei der Installation erhalte ich allerdings folgende Fehlermeldung:
Code
Fatal error: Unable to find class 'wiki\data\article\Article'
Information:
id: d907e2d90b6a08dabef97a71e3d8a0fb49febc7f
error message: Unable to find class 'wiki\data\article\Article'
error code: 0
file: /Users/***/Sites/woltlab/wcf/lib/data/object/type/ObjectType.class.php (74)
php version: 5.3.15
wcf version: 2.0.0 Beta 6 (Maelstrom)
date: Fri, 09 Aug 2013 18:18:33 +0000
request: /~***/woltlab/wbb/acp/index.php/InstallPackage/?&
referer: http://localhost/~***/woltlab/wbb/acp/index.php/PackageInstallationConfirm/?queueID=8&
Stacktrace:
#0 /Users/***/Sites/woltlab/wcf/lib/system/cache/builder/VersionCacheBuilder.class.php(30): wcf\data\object\type\ObjectType->getProcessor()
#1 /Users/***/Sites/woltlab/wcf/lib/system/cache/builder/AbstractCacheBuilder.class.php(40): wcf\system\cache\builder\VersionCacheBuilder->rebuild(Array)
#2 /Users/***/Sites/woltlab/wcf/lib/system/version/VersionHandler.class.php(110): wcf\system\cache\builder\AbstractCacheBuilder->getData(Array, 'versions')
#3 /Users/***/Sites/woltlab/wcf/lib/system/SingletonFactory.class.php(27): wcf\system\version\VersionHandler->init()
#4 /Users/***/Sites/woltlab/wcf/lib/system/SingletonFactory.class.php(56): wcf\system\SingletonFactory->__construct()
#5 /Users/***/Sites/woltlab/wcf/lib/system/package/PackageInstallationDispatcher.class.php(1027): wcf\system\SingletonFactory::getInstance()
#6 /Users/***/Sites/woltlab/wcf/lib/system/package/PackageInstallationDispatcher.class.php(215): wcf\system\package\PackageInstallationDispatcher->restructureVersionTables()
#7 /Users/***/Sites/woltlab/wcf/lib/acp/action/InstallPackageAction.class.php(72): wcf\system\package\PackageInstallationDispatcher->install('57a2ac63')
#8 /Users/***/Sites/woltlab/wcf/lib/action/AbstractDialogAction.class.php(70): wcf\acp\action\InstallPackageAction->stepInstall()
#9 /Users/***/Sites/woltlab/wcf/lib/action/AbstractAction.class.php(49): wcf\action\AbstractDialogAction->execute()
#10 /Users/***/Sites/woltlab/wcf/lib/system/request/Request.class.php(58): wcf\action\AbstractAction->__run()
#11 /Users/***/Sites/woltlab/wcf/lib/system/request/RequestHandler.class.php(94): wcf\system\request\Request->execute()
#12 /Users/***/Sites/woltlab/wbb/acp/index.php(10): wcf\system\request\RequestHandler->handle('wbb', true)
#13 {main}
Display More
An der Stelle, wo der Version-Cache durch die Installationsroutine neu erstellt wird, ist der Applikation-spezifische Namespace wohl noch nicht hinterlegt und die Klasse kann deswegen nicht gefunden werden.
Können VersionableDatabaseObjects wirklich nicht in Applikationen verwendet werden oder habe ich einfach einen banalen Denkfehler?