CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #29642

Frontend reminder issues

Added by Thomas Kowtsch over 1 year ago. Updated over 1 year ago.

Status:Closed Start date:2011-09-10
Priority:Must have Due date:
Assignee:Thomas Kowtsch % Done:

90%

Category:- Spent time: 2.00 hours
Target version:1.4.2 Estimated time:3.00 hours
Votes: 0

Description

Matthias Secker:
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.

Matthias

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.
---------------
Hi Mario,
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?
Thanks.
----------------
We discussed this problem already a while ago in the newsgroup (<>)

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!

History

Updated by Thomas Kowtsch over 1 year ago

  • Target version set to 1.4.2

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

Updated by Thomas Kowtsch over 1 year ago

  • Status changed from Needs Feedback to Closed

closed after long time without feedback

Also available in: Atom PDF