ssossossosso

Forums

Covering OroCRM topics, including community updates and company announcements.  Subscribe

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

  • Creator
    Topic
  • #470
    lrotherfield
    lrotherfield
    Participant

    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
    Replies
  • #474
    Ivan Klymenko
    Ivan Klymenko
    Oro Core

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

    #748
    Ivan Klymenko
    Ivan Klymenko
    Oro Core

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

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

You must be logged in to reply to this topic.