You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by bu...@apache.org on 2010/09/17 00:41:06 UTC

DO NOT REPLY [Bug 49944] New: Error when reviewer publishes with "Notify the submitter:" is checked

https://issues.apache.org/bugzilla/show_bug.cgi?id=49944

           Summary: Error when reviewer publishes with "Notify the
                    submitter:" is checked
           Product: Lenya
           Version: 2.0.3
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Workflow
        AssignedTo: dev@lenya.apache.org
        ReportedBy: douglas.hurbon@mail.cuny.edu


Created an attachment (id=26039)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=26039)
patch for org.apache.lenya.cms.workflow.usecases.Publish

Causes: ERROR usecases.workflow - Could not commit/rollback usecase
[workflow.publish]: 
java.lang.NullPointerException
    at
org.apache.lenya.cms.site.tree2.SiteTreeRevisionVerifier.eventFired(SiteTreeRevisionVerifier.java:33)

Because the publish uscase creates an event not associated with a document. 
This is the source of the NPE.

A patch is attached.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 49944] Error when reviewer publishes with "Notify the submitter:" is checked

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49944

Florent ANDRE <fl...@4sengines.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #1 from Florent ANDRE <fl...@4sengines.com> 2010-09-17 12:38:47 EDT ---
Patch tested and apply on rev 998192. 

Thanks for this Douglas.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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