Frontend reminder issues
|Priority:||Must have||Due date:|
|Assignee:||Thomas Kowtsch||% Done:||
|Category:||-||Spent time:||2.00 hours|
|Target version:||1.4.2||Estimated time:||3.00 hours|
I have some reminder issues as well.
Reminder functionality is for FE users only. In the frontend they can watch an event. In that case I will get a new "watcher" record in storage folder. But I found the this "watcher record" does not contain a "delay value". The reminder time is set to 1440 (one day before) via setup/contants, but here I get value 0 and no schedulerID!
Otherwise if I add an watching user via backed, a delay time of 60 is suggested (why not 1440 as I configured). Not a big problem, the admin can set the delay time to whatever he wants, so far...
If the event now has been saved, the new watching-user has a delay time (maybe 60) as expected and a correct schedulerID. Furthermore even the old user (watching via frontend) has now a scheduler ID (but still delay time of 0 instead of 1440). But, of course it is not an option to manually save the event every few minutes or hours to get the sub tasks working.
After saving I can see the two sub tasks in the scheduler module with da correct execution time set (on hour before event and one day before event).
The next problem is that the sub task cannot executed correctly, it's stuck and I have to stop it manually.
I use snapshot dev-r3088
task "cal calendar scheduler cron (cal)" runs every fifth minute.
options.tx_cal_controller.pageIDForPlugin is set to UID of detail page.
thanks for creating this new ticket.
Meanwhile I updated to 1.4.1 and I was looking for the offset value which are stored in db "table tx_cal_fe_user_event_monitor_mm". If I add an "monitoring user" in backend, the value is 60. This is the standard value defined in TCA. But if the user creates this record via frontend (watching this event), the value is 0, fields defined in "class.tx_cal_phpicalendar_mode.php", line 933
$fields_values = array (<br />'uid_local' => $uid,<br />'uid_foreign' => $user_uid,<br />'tablenames' => 'fe_users',<br />'sorting' => 1,<br />'pid' => $this->conf['rights.']['create.']['event.']['saveEventToPid']<br />);
The result is offset=0. Shouldn't it be 30 (default reminder time as you can read in manual) or in my case 1440 (one day before event starts). Furthermore no task has been created and schedulerId-field in tx_cal_fe_user_event_monitor_mm is 0.
Any ideas why reminding fails? Anyone else with this problems?
We discussed this problem already a while ago in the newsgroup (<firstname.lastname@example.org>)
Matthias, can you please double check that the latest release (r3098) works for you?
Two things were missing - the database fields were not filled (inconsistency between BE edit, FE subscription of registered users and FE subscription of not registered users) and the reminder was not started directly on subscription.
I changed these points, so please give it a try and leave some information regarding the result here, please!
Updated by Thomas Kowtsch over 1 year ago
- Assignee set to Thomas Kowtsch
- % Done changed from 0 to 90
- Estimated time set to 3.00