fix: 7.5.0 time tracker templates were corrupt, now fixed.

fix: AssetPackage www_importPackage would give an error message about package being corrupt, but the package would import correctly. No longer gives error message.
This commit is contained in:
Doug Bell 2008-01-24 20:31:23 +00:00
parent 3b9be36035
commit ffa90c5fbd
5 changed files with 12 additions and 1 deletions

View file

@ -1,6 +1,10 @@
7.5.1 7.5.1
- fix: Friends language error (perlDreamer Consulting, LLC.) - fix: Friends language error (perlDreamer Consulting, LLC.)
http://www.plainblack.com/bugs/tracker/friends-language-error http://www.plainblack.com/bugs/tracker/friends-language-error
- fix: newByDynamicClass would die if given bad parameters, must return undef
- fix: AssetPackage.pm would give an error on importing a package through
the web interface, but the package would be imported successfully.
- fix: 7.5.0 upgrade template for time tracker was corrupt.
7.5.0 7.5.0
- rfe: Search Asset returns URLs - rfe: Search Asset returns URLs

View file

@ -7,6 +7,13 @@ upgrading from one version to the next, or even between multiple
versions. Be sure to heed the warnings contained herein as they will versions. Be sure to heed the warnings contained herein as they will
save you many hours of grief. save you many hours of grief.
7.5.1
--------------------------------------------------------------------
* There was a corrupt template in a package for the 7.5.0 upgrade.
If you already upgraded to 7.5.0, please import the package
located at:
WebGUI/docs/upgrades/packages-7.5.0/root_import_timetracking_user.wgpkg
7.5.0 7.5.0
-------------------------------------------------------------------- --------------------------------------------------------------------
* Event related links are now displayed using a template loop * Event related links are now displayed using a template loop

View file

@ -313,7 +313,7 @@ sub www_importPackage {
if ($storage->getFileExtension($storage->getFiles->[0]) eq "wgpkg") { if ($storage->getFileExtension($storage->getFiles->[0]) eq "wgpkg") {
$error = $self->importPackage($storage); $error = $self->importPackage($storage);
} }
if ($error) { if (!blessed $error) {
my $i18n = WebGUI::International->new($self->session, "Asset"); my $i18n = WebGUI::International->new($self->session, "Asset");
return $self->session->style->userStyle($i18n->get("package corrupt")); return $self->session->style->userStyle($i18n->get("package corrupt"));
} }