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

send_expiry_notifications cronjobs shows error even though system is configured correctly

    XMLWordPrintable

Details

    Description

      Hi

      In INSTALL.txt it is written:

      After installation, a new dataye would be available to add as an attribute in
      the User and User Group classes, "Password Expiration". You should add a new
      attribute to your classes using this new datype for the system to behave correctly.
      

      note : Typo "dataye"

      However, if you add the datatype to user groups you'll get these warnings when running the send_expiry_notifications cronjob

      $ php runcronjobs.php send_expiry_notifications
      Running cronjob part 'send_expiry_notifications'
      Running extension/ezmbpaex/cronjobs/sendexpirynotifications.php
      eZPaEx: Send expiry notifications process start
      Found 6 objects pending notification, send notifications:
      Notification sent ok. UserID: 10
      Error user_object disabled or not found. UserID: 4
      Error user_object disabled or not found. UserID: 11
      Error user_object disabled or not found. UserID: 12
      Error user_object disabled or not found. UserID: 13
      Error user_object disabled or not found. UserID: 42
      Sent 1 notifications.
      eZPaEx: Send expiry notifications process end
      

      Since the datatype should be added to user groups as well (according to documentation), the cronjob should not throw such errors

      Attachments

        Activity

          People

            dp@ez.no dp@ez.no
            vl vl
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: