fix - Calendar feeds not working
This commit is contained in:
parent
9fe730adbb
commit
4a81339b10
2 changed files with 7 additions and 2 deletions
|
|
@ -60,6 +60,7 @@
|
||||||
- fix: Collab System FAQ: clicking top link does not bring you back to the top of FAQ (perlDreamer Consulting, LLC)
|
- fix: Collab System FAQ: clicking top link does not bring you back to the top of FAQ (perlDreamer Consulting, LLC)
|
||||||
- fix: SQL Report download template (perlDreamer Consulting, LLC)
|
- fix: SQL Report download template (perlDreamer Consulting, LLC)
|
||||||
- fix: Ignoring shortcut overrides.
|
- fix: Ignoring shortcut overrides.
|
||||||
|
- fix: Calendar feeds not working.
|
||||||
|
|
||||||
7.3.8
|
7.3.8
|
||||||
- Fixed a template variable rewriting problem with HTML::Template::Expr
|
- Fixed a template variable rewriting problem with HTML::Template::Expr
|
||||||
|
|
|
||||||
|
|
@ -213,7 +213,7 @@ sub execute {
|
||||||
my ($hour, $minute, $second) = $time =~ /(\d{2})(\d{2})(\d{2})/;
|
my ($hour, $minute, $second) = $time =~ /(\d{2})(\d{2})(\d{2})/;
|
||||||
|
|
||||||
($properties->{startDate}, $properties->{startTime}) =
|
($properties->{startDate}, $properties->{startTime}) =
|
||||||
split / /, WebGUI::DateTime(
|
split / /, WebGUI::DateTime->new(
|
||||||
year => $year,
|
year => $year,
|
||||||
month => $month,
|
month => $month,
|
||||||
day => $day,
|
day => $day,
|
||||||
|
|
@ -239,7 +239,7 @@ sub execute {
|
||||||
my ($hour, $minute, $second) = $time =~ /(\d{2})(\d{2})(\d{2})/;
|
my ($hour, $minute, $second) = $time =~ /(\d{2})(\d{2})(\d{2})/;
|
||||||
|
|
||||||
($properties->{endDate}, $properties->{endTime}) =
|
($properties->{endDate}, $properties->{endTime}) =
|
||||||
split / /, WebGUI::DateTime(
|
split / /, WebGUI::DateTime->new(
|
||||||
year => $year,
|
year => $year,
|
||||||
month => $month,
|
month => $month,
|
||||||
day => $day,
|
day => $day,
|
||||||
|
|
@ -302,6 +302,10 @@ sub execute {
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
my $calendar = WebGUI::Asset->newByDynamicClass($self->session,$feed->{assetId});
|
my $calendar = WebGUI::Asset->newByDynamicClass($self->session,$feed->{assetId});
|
||||||
|
if (!defined $calendar) {
|
||||||
|
$self->session->errorHandler->error("CalendarUpdateFeeds Activity: Calendar object failed to instanciate at line 304. Did you commit the calendar wobject?");
|
||||||
|
return $self->ERROR;
|
||||||
|
}
|
||||||
my $event = $calendar->addChild($properties);
|
my $event = $calendar->addChild($properties);
|
||||||
$event->requestAutoCommit;
|
$event->requestAutoCommit;
|
||||||
$added++;
|
$added++;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue