Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-255

Improve error message handling/hiding

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Trivial
    • Resolution: Unresolved
    • None
    • None
    • ecommerce
    • None
    • Bug Crush Event - 21/2/2015

    Description

      This is a copy of OFBIZ-673, from the old JIRA system:

      Error handling ought to be configurable.

      Currently, the template file framework/common/webcommon/includes/messages.ftl lets you customize the look and feel, but there are a couple of other things that could be done, in my opinion.

      1) Depending on whether a variable (production/testing system) is set somewhere (where is the best place?), either print all the debug information, or simply print a nice, simple messsage that there has been an error and the administrators have been contacted to resolve the problem.

      2) Actually send some email to an email address defined somewhere (where is the best place?). I think that would happen in ServiceEventHandler.java, but perhaps (well, probably), I'm mistaken. Where is the right place?

      Attachments

        Issue Links

          Activity

            People

              doogie Adam Heath
              davidw David Welton
              Votes:
              2 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: