You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by fl...@apache.org on 2010/09/17 18:37:20 UTC

svn commit: r998192 - /lenya/tags/RELEASE_2_0_3/src/modules-core/workflow/java/src/org/apache/lenya/cms/workflow/usecases/Publish.java

Author: florent
Date: Fri Sep 17 16:37:19 2010
New Revision: 998192

URL: http://svn.apache.org/viewvc?rev=998192&view=rev
Log:
Apply patch for solving bug https://issues.apache.org/bugzilla/show_bug.cgi?id=49944

Modified:
    lenya/tags/RELEASE_2_0_3/src/modules-core/workflow/java/src/org/apache/lenya/cms/workflow/usecases/Publish.java

Modified: lenya/tags/RELEASE_2_0_3/src/modules-core/workflow/java/src/org/apache/lenya/cms/workflow/usecases/Publish.java
URL: http://svn.apache.org/viewvc/lenya/tags/RELEASE_2_0_3/src/modules-core/workflow/java/src/org/apache/lenya/cms/workflow/usecases/Publish.java?rev=998192&r1=998191&r2=998192&view=diff
==============================================================================
--- lenya/tags/RELEASE_2_0_3/src/modules-core/workflow/java/src/org/apache/lenya/cms/workflow/usecases/Publish.java (original)
+++ lenya/tags/RELEASE_2_0_3/src/modules-core/workflow/java/src/org/apache/lenya/cms/workflow/usecases/Publish.java Fri Sep 17 16:37:19 2010
@@ -410,7 +410,7 @@ public class Publish extends InvokeWorkf
         Message message = new Message(subject, body, sender, recipients);
 
         NotificationEventDescriptor descriptor = new NotificationEventDescriptor(message);
-        RepositoryEvent event = RepositoryEventFactory.createEvent(this.manager, getSession(),
+        RepositoryEvent event = RepositoryEventFactory.createEvent(this.manager, liveVersion,
                 getLogger(), descriptor);
         getSession().enqueueEvent(event);
     }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org