OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

Forums Forums OroPlatform ActivityListBundle issues

This topic contains 0 replies, has 1 voice, and was last updated by  marius.negoescu 4 years, 8 months ago.

Starting from March 1, 2020 the forum has been switched to the read-only mode. Please head to StackOverflow for support.

  • 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

The forum ‘OroPlatform’ is closed to new topics and replies.

Back to top