OroPlatform Forums

Covering OroPlatform topics, including community updates and company announcements.

This topic contains 2 replies, has 2 voices, and was last updated by Ivan Klymenko Ivan Klymenko 7 years, 1 month ago.

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

  • Creator
  • #34701

    We have just been working through adding a new area to the platform. It was all going smoothly until we tried to post a form. The form submits via ajax correctly but then was redirecting straight away to the same page thus loosing the bound data and not showing any errors. After tracing through the code, the Oro\Bundle\NavigationBundle\Event\ResponseHashnavListener showed itself to be the culprit:

    The code forces a redirect if there is a server error even in dev mode which means there is no stacktrace ever shown. It would be great if dev mode did not cause a full redirect so that we can read stacktrace and debug the issue. Although in a perfect world my code would never cause any 500 errors :)

    We have just put a return statement in for now so we get our stacktraces and can happily debug the issues. Might be helpful for others who encounter this issue though.

    I hope that makes sense, thanks for the hard work so far, it is an awesome piece of kit

Viewing 2 replies - 1 through 2 (of 2 total)
  • Author
  • #34702

    Good point, guys! We took this really important issue into account.
    Thank you for the feedback!


    Problem was resolved, and will go live in our next release.

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

The forum ‘OroPlatform – Installation/Technical Issues or Problems’ is closed to new topics and replies.

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

Yes No