-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Activity Integration #2
Comments
@juliushaertl within but within DatasetService I want to trigger activities. As soon as I include the ActivityManager within the same service as mentioned before, PHP stalls. I assume that I can't do it in both ways because I am creating a cycle? is this correct? |
Yes, you have introduced a cyclic dependency between ActivityManager and DatasetService. Without having a deeper look at the code, it's hard to give a quick solution, but you could extract the reading in a separate class (as i assume that reading doesn't need the ActivityManager as a dependency). Otherwise try to move the "read a name tag" out of your activityManager and make sure that the data is passed into the method itself. |
I solved it by accessing the DbController and not the DatasetService. not 100% nice but still clearer from the reading thank you |
Activity settings for Reports and Report Data
Activities for various events
Activity filter
Subjects:
The text was updated successfully, but these errors were encountered: