fix generic package uploading
This commit is contained in:
parent
ff03aebfd3
commit
218415ad27
2 changed files with 3 additions and 1 deletions
|
|
@ -9,6 +9,7 @@
|
||||||
- fix: Outdated info in Env macro help (perlDreamer Consulting, LLC)
|
- fix: Outdated info in Env macro help (perlDreamer Consulting, LLC)
|
||||||
- fix: Calendar: Only Turn Admin On group can add events (perlDreamer Consulting, LLC)
|
- fix: Calendar: Only Turn Admin On group can add events (perlDreamer Consulting, LLC)
|
||||||
- fix: Event -> canEdit (perlDreamer Consulting, LLC)
|
- fix: Event -> canEdit (perlDreamer Consulting, LLC)
|
||||||
|
- fix: import packages broke (perlDreamer Consulting, LLC)
|
||||||
- fix: A bunch of bugs in fileImport.pl and improved its performance very
|
- fix: A bunch of bugs in fileImport.pl and improved its performance very
|
||||||
significantly (Martin Kamerbeek / Oqapi)
|
significantly (Martin Kamerbeek / Oqapi)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -258,7 +258,8 @@ sub www_importPackage {
|
||||||
|
|
||||||
##This is a hack. It should use the WebGUI::Form::File API to insulate
|
##This is a hack. It should use the WebGUI::Form::File API to insulate
|
||||||
##us from future form name changes.
|
##us from future form name changes.
|
||||||
$storage->addFileFromFormPost("packageFile_file",1);
|
$storage->addFileFromFormPost("packageFile",1);
|
||||||
|
use Data::Dumper;
|
||||||
|
|
||||||
my $error = "";
|
my $error = "";
|
||||||
if ($storage->getFileExtension($storage->getFiles->[0]) eq "wgpkg") {
|
if ($storage->getFileExtension($storage->getFiles->[0]) eq "wgpkg") {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue