[Vtigercrm-commits] [vtiger development] #4782: Failed query in calendar all events & todos list view.
vtiger development
vtiger-tickets at trac.vtiger.com
Mon Dec 31 06:45:19 EST 2007
#4782: Failed query in calendar all events & todos list view.
-----------------------+----------------------------------------------------
Reporter: bharathi | Owner: bharathi
Type: defect | Status: new
Priority: blocker | Milestone: 5.0.4
Component: vtigercrm | Version: 5.0.4
Keywords: |
-----------------------+----------------------------------------------------
when clicking on the ''' All''' link from Today's Upcoming Activities, it
will go to the calendar All Events & Todos list view page. After that if
you click on the My Home Page > Calendar link, it will show you the
following error.
'''ADODB error Query Failed:select , vtiger_activity.activityid,
vtiger_activity.activitytype as type, vtiger_activity.priority, case when
(vtiger_activity.status not like '') then vtiger_activity.status else
vtiger_activity.eventstatus end as status,
vtiger_crmentity.crmid,vtiger_contactdetails.contactid FROM
vtiger_activity LEFT JOIN vtiger_cntactivityrel ON
vtiger_cntactivityrel.activityid = vtiger_activity.activityid LEFT JOIN
vtiger_contactdetails ON vtiger_contactdetails.contactid =
vtiger_cntactivityrel.contactid LEFT JOIN vtiger_seactivityrel ON
vtiger_seactivityrel.activityid = vtiger_activity.activityid LEFT JOIN
vtiger_activitygrouprelation ON vtiger_activitygrouprelation.activityid =
vtiger_activity.activityid LEFT JOIN vtiger_groups ON
vtiger_groups.groupname = vtiger_activitygrouprelation.groupname LEFT
OUTER JOIN vtiger_activity_reminder ON
vtiger_activity_reminder.activity_id = vtiger_activity.activityid LEFT
JOIN vtiger_crmentity ON vtiger_crmentity.crmid =
vtiger_activity.activityid LEFT JOIN vtiger_users ON vtiger_users.id =
vtiger_crmentity.smownerid LEFT OUTER JOIN vtiger_account ON
vtiger_account.accountid = vtiger_contactdetails.accountid LEFT OUTER JOIN
vtiger_leaddetails ON vtiger_leaddetails.leadid =
vtiger_seactivityrel.crmid LEFT OUTER JOIN vtiger_account vtiger_account2
ON vtiger_account2.accountid = vtiger_seactivityrel.crmid LEFT OUTER JOIN
vtiger_potential ON vtiger_potential.potentialid =
vtiger_seactivityrel.crmid LEFT OUTER JOIN vtiger_troubletickets ON
vtiger_troubletickets.ticketid = vtiger_seactivityrel.crmid LEFT OUTER
JOIN vtiger_salesorder ON vtiger_salesorder.salesorderid =
vtiger_seactivityrel.crmid LEFT OUTER JOIN vtiger_purchaseorder ON
vtiger_purchaseorder.purchaseorderid = vtiger_seactivityrel.crmid LEFT
OUTER JOIN vtiger_quotes ON vtiger_quotes.quoteid =
vtiger_seactivityrel.crmid LEFT OUTER JOIN vtiger_invoice ON
vtiger_invoice.invoiceid = vtiger_seactivityrel.crmid LEFT OUTER JOIN
vtiger_campaign ON vtiger_campaign.campaignid = vtiger_seactivityrel.crmid
WHERE vtiger_crmentity.deleted = 0 and (vtiger_crmentity.smownerid in(6)
or (vtiger_crmentity.smownerid in(5) and vtiger_activity.visibility =
'Public') or vtiger_crmentity.smownerid in(select vtiger_user2role.userid
from vtiger_user2role inner join vtiger_users on
vtiger_users.id=vtiger_user2role.userid inner join vtiger_role on
vtiger_role.roleid=vtiger_user2role.roleid where vtiger_role.parentrole
like 'H1::H6::H7::%') or (vtiger_crmentity.smownerid in (0) and
(vtiger_groups.groupid in (4)))) group by vtiger_activity.activityid
having vtiger_activity.activitytype != "Emails" ORDER BY
vtiger_activity.due_date ASC limit 0,20::->You have an error in your SQL
syntax; check the manual that corresponds to your MySQL server version for
the right syntax to use near ' vtiger_activity.activityid,
vtiger_activity.activitytype as type, vtiger_activi' at line 1'''
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4782>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list