OFBiz
  1. OFBiz
  2. OFBIZ-255

Improve error message handling/hiding

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      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?

        Issue Links

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              David N. Welton
            • Votes:
              2 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development