Calendar Notification Issue!

General stuff of the Tine 2.0 effort

Calendar Notification Issue!

Postby szafar » Fri Aug 24, 2012 11:36 pm

Hi Guys,

i came across an other strange issue. whenever i tried to add a calendar EVENT with Attendee, its add but no notification routed. i had configured and activated Queue. i checked the log but there was no error but i can see new column added to 'message' table with the DATA in BODY 'a:2:{s:6:"action";s:31:"Calendar.sendEventNotifications";s:6:"params";a:4:{i:0;O:20:"Calendar_Model_Event":16:{s:14:"'. NO ERROR logged by Apache or TINE20 but TINE20 not routing any email or intimation to attendee.


just to track it down and understand this issue, and i disabled the Queue. after disabling it, when i add a event with ATTENDEE, there was error in ERROR log of TINE20. just to make sure i checked and verify there was no BUSY, CONFLICT. actually there was no event in both user calendar on that. can someone please help me with this?


46de2 Zafar, Sajad - 2012-08-24T21:26:58+00:00 NOTICE (5): Tinebase_ActionQueue::queueAction::155 no queue configured -> directly execute action: 'Calendar.sendEventNotifications'
362d2 Zafar, Sajad - 2012-08-24T21:27:02+00:00 NOTICE (5): Tinebase_Server_Json::_handleException::216 Calendar_Exception_AttendeeBusy -> event attendee busy conflict
362d2 Zafar, Sajad - 2012-08-24T21:27:02+00:00 NOTICE (5): Tinebase_Server_Json::_logExceptionTrace::283 #0 ...\Calendar\Controller\Event.php(176): Calendar_Controller_Event->checkBusyConflicts(Object(Calendar_Model_Event))
#1 [internal function]: Calendar_Controller_Event->create(Object(Calendar_Model_Event), 1)
#2 ...\Tinebase\Frontend\Json\Abstract.php(184): call_user_func_array(Array, Array)
#3 ...\Calendar\Frontend\Json.php(193): Tinebase_Frontend_Json_Abstract->_save(Array, Object(Calendar_Controller_Event), 'Event', 'id', Array)
#4 [internal function]: Calendar_Frontend_Json->saveEvent(Array, 1)
#5 ...\library\Zend\Server\Abstract.php(232): call_user_func_array(Array, Array)
#6 ...\Zend\Json\Server.php(558): Zend_Server_Abstract->_dispatch(Object(Zend_Server_Method_Definition), Array)
#7 ...\Zend\Json\Server.php(197): Zend_Json_Server->_handle()
#8 ...\Tinebase\Server\Json.php(192): Zend_Json_Server->handle(Object(Zend_Json_Server_Request))
#9 ...\Tinebase\Server\Json.php(71): Tinebase_Server_Json->_handle(Object(Zend_Json_Server_Request))
#10 ...\Tinebase\Core.php(241): Tinebase_Server_Json->handle()
#11 ...\index.php(57): Tinebase_Core::dispatchRequest()
#12 {main}
szafar
 
Posts: 13
Joined: Mon Jun 25, 2012 11:38 pm

Re: Calendar Notification Issue!

Postby szafar » Mon Aug 27, 2012 10:46 am

i just drill down it. i am not sure what is the issue here.

1 - WHEN action queue disabled/not active, whenever a event added from TINE20, as
soon as i hit the 'ADD' button
1.1 - browser sleep for 3-4 second, and then popup window appear with 'CONNECTION
LOST, PLEASE CHECK YOUR NETWORK'. error picture attached,
1.1 - EVENT added to Attendee/Organizer successfully.
1.2 - NO NOTIFICATION/EMAIL sent to 'ATTENDEE'. DEBUG CODE is attached.
1.3 - STRANGELY email/notification ROUTED when event accepted/rejected by
ATTENDEE.


2 - when 'action queue' active/enable, i notice whenever a event added from TINE20, as
soon as i hit the 'ADD' button
1.1 - browser sleep for 3-4 second, and window closed'.
1.1 - EVENT added to Attendee/Organizer successfully.
1.2 - NO NOTIFICATION/EMAIL sent to 'ATTENDEE'. DEBUG CODE is attached.
1.3 - NO email/notification ROUTED when event accepted/rejected by
ATTENDEE.

Code: Select all
e5fa7 Services, Collaboration - 2012-08-27T08:16:52+00:00 NOTICE (5): Tinebase_ActionQueue::queueAction::155 no queue configured -> directly execute action: 'Calendar.sendEventNotifications'
e5fa7 Services, Collaboration - 2012-08-27T08:16:52+00:00 INFO (6): Tinebase_ActionQueue::_executeAction::195 executing action: 'Calendar.sendEventNotifications'
e5fa7 Services, Collaboration - 2012-08-27T08:16:52+00:00 DEBUG (7): Tinebase_User::getInstance::139 accounts backend: Sql
e5fa7 Services, Collaboration - 2012-08-27T08:16:52+00:00 INFO (6): Tinebase_User::factory::197 Created user backend of type Sql
e5fa7 Services, Collaboration - 2012-08-27T08:16:52+00:00 DEBUG (7): Tinebase_Translation::getLocale::196 given localeString 'en'
e5fa7 Services, Collaboration - 2012-08-27T08:16:52+00:00 DEBUG (7): Tinebase_Translation::getLocale::231 selected locale: 'en'
e5fa7 Services, Collaboration - 2012-08-27T08:16:53+00:00 DEBUG (7): Tinebase_Translation::getTranslation::273 locale used: Calendar/en
e5fa7 Services, Collaboration - 2012-08-27T08:16:53+00:00 DEBUG (7): Tinebase_Translation::getTranslation::273 locale used: Calendar/en
e5fa7 Services, Collaboration - 2012-08-27T08:16:53+00:00 DEBUG (7): Tinebase_Config_Abstract::_loadAllAppConfigsInCache::278 Loading all configs for app Calendar
e5fa7 Services, Collaboration - 2012-08-27T08:16:53+00:00 DEBUG (7): Tinebase_Config_Abstract::_loadAllAppConfigsInCache::285 Found 2 configs.
af811 Services, Collaboration - 2012-08-27T08:16:59+00:00 DEBUG (7): Tinebase_Auth_CredentialCache::setCacheAdapter::98 Using credential cache apapter: Tinebase_Auth_CredentialCache_Adapter_Cookie
af811 Services, Collaboration - 2012-08-27T08:16:59+00:00 DEBUG (7): Tinebase_Core::setupUserLocale::905 given localeString 'auto'
af811 Services, Collaboration - 2012-08-27T08:16:59+00:00 DEBUG (7): Tinebase_Core::setupUserLocale::914 session value: en
af811 Services, Collaboration - 2012-08-27T08:16:59+00:00 INFO (6): Tinebase_Core::setupUserLocale::944 Setting user locale: en
af811 Services, Collaboration - 2012-08-27T08:16:59+00:00 INFO (6): Tinebase_Core::setExecutionLifeTime::1025 setting execution life time to: 0
af811 Services, Collaboration - 2012-08-27T08:16:59+00:00 INFO (6): Tinebase_User::setBackendType::236 Setting backend type to Sql
af811 Services, Collaboration - 2012-08-27T08:16:59+00:00 DEBUG (7): Tinebase_Group::getInstance::71 groups backend: Sql
af811 Services, Collaboration - 2012-08-27T08:16:59+00:00 DEBUG (7): Tinebase_Core::setupUserLocale::956 Setting CTYPE locale from "C" to "en_US.UTF8".
af811 Services, Collaboration - 2012-08-27T08:16:59+00:00 DEBUG (7): Tinebase_Server_Json::handle::60 is JSON request. rawdata: Array
(
    [0] => Array
        (
            [jsonrpc] => 2.0
            [method] => Felamimail.updateMessageCache
            [params] => Array
                (
                    [folderId] => 6e5545b7a55c11acaaff1acb4a396d556083f26e
                    [time] => 120
                )

            [id] => 19
        )

)

af811 Services, Collaboration - 2012-08-27T08:16:59+00:00 INFO (6): Tinebase_Server_Json::_handle::148 is JSON request. method: Felamimail.updateMessageCache
af811 Services, Collaboration - 2012-08-27T08:16:59+00:00 WARN (4): Tinebase_Server_Json::_checkJsonKey::369 Fatal: got wrong json key! (6e8610ad4572bd5919acbc0ba3632dd7b6ac4a30) Possible CSRF attempt! affected account: Array
(
    [accountId] => 7ad41bc0c70ed0dae590a3147f5dba5431eb21f1
    [accountLoginName] => admin
    [accountLastLogin] => 2012-08-27 08:07:14
    [accountLastLoginfrom] => 90.202.205.183
    [accountLastPasswordChange] => 2012-08-08 11:27:36
    [accountStatus] => enabled
    [accountExpires] =>
    [accountPrimaryGroup] => 58c35c78d5338ced0610b47d33737b3c1f3e7184
    [accountHomeDirectory] =>
    [accountLoginShell] =>
    [accountDisplayName] => Services, Collaboration
    [accountFullName] => Collaboration Services
    [accountFirstName] => Collaboration
    [accountLastName] => Services
    [accountEmailAddress] => collaboration@goldteam.co.uk
    [lastLoginFailure] => 2012-08-27 07:01:53
    [loginFailures] => 0
    [contact_id] => e51f0662ed1b391b5e7cc102bf0f98ed9f682458
    [openid] =>
    [visibility] => displayed
    [container_id] => 1
)
 request: Array
(
)

af811 Services, Collaboration - 2012-08-27T08:16:59+00:00 NOTICE (5): Tinebase_Server_Json::_handleException::216 Tinebase_Exception_AccessDenied -> Not Authorised
af811 Services, Collaboration - 2012-08-27T08:16:59+00:00 NOTICE (5): Tinebase_Server_Json::_logExceptionTrace::283 #0 ...\Tinebase\Server\Json.php(151): Tinebase_Server_Json->_checkJsonKey('Felamimail.upda...', '6e8610ad4572bd5...')
#1 ...\Tinebase\Server\Json.php(71): Tinebase_Server_Json->_handle(Object(Zend_Json_Server_Request))
#2 ...\Tinebase\Core.php(241): Tinebase_Server_Json->handle()
#3 ...\index.php(57): Tinebase_Core::dispatchRequest()
#4 {main}


I have spent 3 days on this issue. which include installing a fresh application. with fresh install its seems to be working perfectly. but my problem is i have alot of data in tine20 current production installation not able to switch to new.

ONE THING i forget to mention is due to some issue i had to delete default 'ADMIN' role in live server. i have create a new group with same name, and provided all 'RIGHTS' to it. i am hoping this is not be an issue?

other than
1 - ALL setting are same.
2 - LIVE server is with almost 40 users calendars, emails, and contact data, and testing
server with 2 users.SO THE ONLY difference is number of users and data.


Please do help me out to resolve this puzzle pls?
Attachments
error.jpg
'CONNECTION
LOST, PLEASE CHECK YOUR NETWORK'. error picture attached,
error.jpg (218.11 KiB) Viewed 666 times
szafar
 
Posts: 13
Joined: Mon Jun 25, 2012 11:38 pm

Re: Calendar Notification Issue!

Postby nelius » Thu Aug 30, 2012 11:38 am

1. don't use the queue, it's not yet production ready. I just deleted the info out of the wiki.
2. I just increased logging for our next service release. It will be more easy to see what the problem is once the release is out.
Cornelius Weiss
Tine 2.0 Lead Developer

Visit http://www.tine20.com for commercial support / consulting / development.
Visit http://www.officespot20.com for Tine 2.0 hosting.
User avatar
nelius
Tine 2.0 Core Developer
 
Posts: 1150
Joined: Tue Nov 06, 2007 7:25 pm

Re: Calendar Notification Issue!

Postby szafar » Thu Aug 30, 2012 12:42 pm

Thanks for the resposne.

any help why the invitation is not routing. its not happening with QUEUE, or without QUEUE.

Please comments on that?
szafar
 
Posts: 13
Joined: Mon Jun 25, 2012 11:38 pm

Re: Calendar Notification Issue!

Postby nelius » Thu Aug 30, 2012 3:50 pm

Your log doesn't point to the problem.

There ist no general notification issue, it must be something spechial to your installation. As I said, i increased logging, you need to wait till the service release is there and post enhanced logs than
Cornelius Weiss
Tine 2.0 Lead Developer

Visit http://www.tine20.com for commercial support / consulting / development.
Visit http://www.officespot20.com for Tine 2.0 hosting.
User avatar
nelius
Tine 2.0 Core Developer
 
Posts: 1150
Joined: Tue Nov 06, 2007 7:25 pm


Return to General [English]

Who is online

Users browsing this forum: miroslav and 4 guests

Startseite
NewsDemoDownloadForumWikiBlog
Support
Support at first hand!
If the forum does not help anymore ... Professional support is available directly from our Tine2.0 core Developers.

more »