Steps to recreate:
1. Go to System -> Entity -> Entity Management and modify the label of the ShoppingListBundle and don’t tick any Activities.
2. To go Customers -> Accounts and click to view an account, you will notice on the demo site the title turns to 500 – Internal Server Error and if you refresh the page you will get an error Activity List is not loading properly error.
I have found the problem is in the first step, when saving the ShoppingListBundle, the activity property generates an activities empty array.
When it gets to this line: https://github.com/oroinc/platform/blob/master/src/Oro/Bundle/ActivityListBundle/Helper/ActivityInheritanceTargetsHelper.php#L174, it only checks if the activities property exists, it doesn’t also check if it’s empty or not, so the Activity List doesn’t have a corresponding related table.
I have managed to fix it with a decoration, but would welcome any other recommended solution.
You must be logged in to reply to this topic.