From f362a722104288f2e9d20037621f79c6ab1e4acf Mon Sep 17 00:00:00 2001 From: Graham Knop Date: Tue, 18 Nov 2008 16:11:23 +0000 Subject: [PATCH] fixed: Get CS Mail workflow doesn't commit version tags created --- docs/changelog/7.x.x.txt | 1 + lib/WebGUI/Workflow/Activity/GetCsMail.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index f77bdec95..b46dafd48 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -26,6 +26,7 @@ - fixed #4198: Namespace of Template "Newsletter (Manager)" set to "Collaboration - fixed #4161: asset manager: switching title to descending order reverts to ascending on next page - fixed #8914: epoch for calendar/List View for Calendar + - fixed: Get CS Mail workflow doesn't commit version tags created 7.6.3 - improved performance of file uploads diff --git a/lib/WebGUI/Workflow/Activity/GetCsMail.pm b/lib/WebGUI/Workflow/Activity/GetCsMail.pm index e7d1c9a10..66f03b108 100644 --- a/lib/WebGUI/Workflow/Activity/GetCsMail.pm +++ b/lib/WebGUI/Workflow/Activity/GetCsMail.pm @@ -119,6 +119,7 @@ sub addPost { $storage->addFileFromScalar($filename, $file->{content}); } } + $post->requestAutoCommit; $post->postProcess; $post->getThread->unarchive if ($post->getThread->get("status") eq "archived"); return $post;