Fixed a bug with RSS feed generation and attachments.
This commit is contained in:
parent
d5b79ae217
commit
2c7f49be9a
5 changed files with 5 additions and 20 deletions
|
|
@ -17,6 +17,9 @@
|
|||
handling dynamic item plugins. (Martin Kamerbeek / Oqapi)
|
||||
- fix: Using double quote in Project Manager task name breaks javascript
|
||||
(perlDreamer Consulting LLC)
|
||||
- Fixed a bug in the 7.2.3-7.3.0 upgrade script related to calendar
|
||||
migration.
|
||||
- Fixed a bug with RSS feed generation and attachments.
|
||||
|
||||
7.3.4
|
||||
- fix: SQLForm - cannot add new asset (Martin Kamerbeek / Oqapi)
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ Contributing Developers..............Lucas Bartholemy
|
|||
Chris Jackson
|
||||
Roy Johnson / Plain Black
|
||||
Koen de Jonge / ProcoliX
|
||||
Martin Kamerbeek / ProcoliX
|
||||
Martin Kamerbeek / Oqapi
|
||||
Christian Kocourek
|
||||
John W. Krahn
|
||||
Len Kranendonk
|
||||
|
|
|
|||
|
|
@ -220,6 +220,7 @@ sub migrateCalendars {
|
|||
|
||||
for my $asset (@{$calendars})
|
||||
{
|
||||
next unless defined $asset;
|
||||
my $properties = {%{$asset->get}};
|
||||
$properties->{defaultDate} = delete $properties->{defaultMonth};
|
||||
#warn "Found calendar ".$properties->{title};
|
||||
|
|
|
|||
|
|
@ -708,24 +708,6 @@ SQL
|
|||
return @posts;
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub getRssItemsAttachments {
|
||||
my $self = shift;
|
||||
my $post = shift;
|
||||
if ($post->get('storageId')) {
|
||||
my $storage = $post->getStorageLocation;
|
||||
my @attachments = map {
|
||||
{
|
||||
'attachment.url' => $storage->getUrl($_),
|
||||
'attachment.path' => $storage->getPath($_),
|
||||
'attachment.length' => $storage->getFileSize($_)
|
||||
}
|
||||
} @{$storage->getFiles};
|
||||
return \@attachments;
|
||||
}
|
||||
return [];
|
||||
}
|
||||
|
||||
#-------------------------------------------------------------------
|
||||
sub getEditTabs {
|
||||
my $self = shift;
|
||||
|
|
|
|||
|
|
@ -47,7 +47,6 @@ This package provides miscellaneous but useful utilities to the WebGUI programme
|
|||
$string = makeCommaSafe($string);
|
||||
$string = makeTabSafe($string);
|
||||
$integer = randint($low,$high);
|
||||
randomizeArray(\@array);
|
||||
$hashRef = randomizeHash(\%hash);
|
||||
%hash = sortHash(%hash);
|
||||
%hash = sortHashDescending(%hash);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue