Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.2.0alpha1
-
None
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