Error caused by missing new twingle project types
Twingle has added 2 new project types called 'shop' and 'giftshop'. These leads to errors like the following during the sync of twingle projects to CRM campaigns
Parameters parsed (and passed to API method): a:1:{s:7:"version";i:3;}
Full message: Finished execution of TwingleSync with result: Fehler, Error message: 1 synchronisation process resulted with an error: [ ['project_id' => 'XXXX', 'error_message' => ''giftshop' is not a valid option for field custom_XXX'] ]
As a hotfix I've added the project types 'shop' and 'giftshop' in our CiviCRM manually to the option groups.
I found the definition of the option group in
CRM/TwingleCampaign/resources/campaigns.php and would add the types there and then create a PR
Is there anything else i have to do? Open for feedback and eager to learn :-)
Greetings Tobi