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.hur...@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-unsubscr...@lenya.apache.org
For additional commands, e-mail: dev-h...@lenya.apache.org

Reply via email to