OroCRM Forums

Covering OroCRM topics, including community updates and company announcements.

Forums Forums OroCRM OroCRM – How do I? Questions Segments how to debug

This topic contains 8 replies, has 3 voices, and was last updated by  Adam 4 years, 3 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
  • #29661

    Adam
    Participant

    Hi,

    I have created a bundle and segment based on this bundle data. However, segments don’t work. Don’t display anything… I don’t get any errors inside the log files. Any idea how can I debug it and fix it?

    Regards,
    Adam

Viewing 8 replies - 1 through 8 (of 8 total)
  • Author
    Replies
  • #29662

    Yurii Muratov
    Participant

    Hello, Adam.

    You can add debug breakpoint at https://github.com/oroinc/platform/blob/master/src/Oro/Bundle/DataGridBundle/Twig/DataGridExtension.php#L167 and try to debug your exception.

    #29663

    Adam
    Participant

    @Yurii Muratov Thanks,it my exception:

    Any idea? What does it mean? How to fix it?

    #29664

    Adam
    Participant

    Any idea how to fix it?

    #29665

    Andrey Yatsenko
    Moderator

    Hi Adam,

    I have several questions to you
    For what entity do you have this segment configured, does it custom one?
    Do you have “ta_store_orders_view” route configured in code?

    P.S. Please don’t duplicate topics at the forum, it will not speed up the answer, it just adds work for moderators.

    #29666

    Adam
    Participant

    This is my custom entity. I don’t know much about segments. I haven’t found any documentation on oro website regart to segments. I’m not sure what are the steps for creating custom segments?

    • This reply was modified 4 years, 3 months ago by  Adam.
    • This reply was modified 4 years, 3 months ago by  Adam.
    #29669

    Andrey Yatsenko
    Moderator

    Can you share the code of that entity with configuration metadata?
    And do you have some controller to view that entity from management console?

    #29670

    Adam
    Participant

    Do I need to create controller and view for segments? Do you have any example?

    #29671

    Adam
    Participant

    @Andrey. Thanks, sorted out.

Viewing 8 replies - 1 through 8 (of 8 total)

The forum ‘OroCRM – How do I? Questions’ is closed to new topics and replies.

Back to top

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

Yes No

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

Yes No