Closed andyburnsco closed 2 years ago
Hi @andyburnsco
I have tested this on a vanilla drupal 7 and wp-demo dev site with org.civicrm.civicase and also this extension enabled. I don't see any obvious issues what permissions were you using?
I am on WP. I encountered this as a super admin.
I tried this on WP, with superadmin privileges as well. I was able to create activities in the standard timeline, as well as perform normal operations. Any particular errors in the log you can help us out with?
I am also seeing this issue on drupal 7. Activities do gets saved on standard timeline, but when you revisit that case type and go under standard timeline tab, they are not there.
Hi @sunnycs121 could you confirm if this works when users have the Open Case permission but not if they don't?
@JoeMurray I enabled following permissions for administrator role and now seeing 'null' for each activity.
@sunnycs121 so are you using the CiviCase Extension or just the Component CiviCase?
CiviCase component
Do you have any other extensions enabled or just this one?
We have following other extensions installed:
Summary Fields Fuzion Tokens CSV GUI Import to api Angular Profiles Contact Layout Editor FlexMailer CiviDiscount Recent Items Menu CiviCRM Bootstrap theme Mosaico Mailgun
It started working for me when IF condition in function "toApiOutput" is commented out in file CRM/ActivityTypeACL/APIWrappers/ACL.php
Commented out this condition:
if ($apiRequest['entity'] == 'CaseType' && $apiRequest['action'] == 'get') {
When https://github.com/JMAConsulting/biz.jmaconsulting.activitytypeacl is enabled, adding and saving activities underneath the standard timeline, additional timeline or sequence fails to save, see below.
This prevents the use of CiviCase as you need at least the Open Case activity on the standard timeline for it to work.
I disabled all WP plugins and extensions. This extension was the culprit. Tested as super admin on WP.