When trying to add a participant status condition the form doesn't show. An error is thrown that says 'entity participant does not implement status condition'
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related.
Learn more.
@mattwire That's indeed part of a solution. But the renaming of the participant status class from CRM_CivirulesConditions_Participant_ParticipantStatus to CRM_CivirulesConditions_Participant_status will be a neccessity to make the generic status comparisson work with participant statuses as well. That's a large part of my merge request.
I can rebase my merge request as soon as your code gets merged in, that way the generic status comparisson is fixed for the entities you fixed as well as for participant statuses.
And then in the upgrader you can use a function like this: CRM_Civirules_Utils_Upgrader::insertConditionsFromJson($this->extensionDir . DIRECTORY_SEPARATOR . 'sql/conditions.json');
Could you change your code to that? Thanks anyway for all your work!