Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-14442

Notification email for modification before notification subscription and minor code issue

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Medium Medium
    • None
    • 4.0.2, 4.1.0alpha2
    • Notifications
    • None

    Description

      Notification emails are send for modifications done before the notification subscription (it also happens on ez.no forum for instance).

      In addition the beginning of eZNotificationEventFilter::process() is weird. eZNotificationEventFilter::availableHandlers() returns an array that can only contain PHP Object but a test is done on false (boolean) and if the test is true, an error message is fired but this message already fired before in eZNotificationEventFilter::loadHandler() and it contains an undefined variable.

      Steps to reproduce

      With a default eZ Publish install :
      1. Edit an object and make a modification
      2. Subscribe to notification on this object
      3. Run a cronjob part that executes notification.php cronjob script

      You will receive a notification email for your modification done before you're subscription.

      Attachments

        Activity

          People

            unknown unknown
            dpobel dpobel
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: