Fixed 2 errors that prevented the installation of standalone application
authorMatthias Schmidt <gravatronics@live.com>
Fri, 5 Aug 2011 09:33:12 +0000 (11:33 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 5 Aug 2011 09:33:12 +0000 (11:33 +0200)
commitb68f0af4378647df83e713f2ad15288b6db39695
tree050588896bad3e329931cc0c7e2956e2853ef780
parent52f6a4959325d46bc072a9acef42095610b499a1
Fixed 2 errors that prevented the installation of standalone application

`PackageInstallationNodeBuilder::buildPackageNode()` didn't handle
non-existing `packageDescription` and `authorURL` tags (which may be
omitted according to the `package.xsd` file) so that they were set to
null which caused problems later when
`PackageInstallationDispatcher::installPackage()` is called and tries to
save that node data since the database table columns
`packageDescription` and `authorURL` may not be null.  Also the
`SQLPackageInstallationPlugin::install()` method called
`Package::getAbbreviation()` the wrong way.
wcfsetup/install/files/lib/system/package/PackageInstallationNodeBuilder.class.php
wcfsetup/install/files/lib/system/package/plugin/SQLPackageInstallationPlugin.class.php