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: [email protected]
        ReportedBy: [email protected]


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to