OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums OroPlatform ActivityListBundle issues

This topic contains 0 replies, has 1 voice, and was last updated by  marius.negoescu 2 weeks, 5 days ago.

  • Creator
    Topic
  • #40124

    marius.negoescu
    Participant

    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.

    Cheers, Marius

You must be logged in to reply to this topic.

You will be redirected to [title]. Would you like to continue?

Yes No