1. OFBiz
  2. OFBIZ-255

Improve error message handling/hiding


    • Type: Improvement Improvement
    • Status: Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Sprint:
      Bug Crush Event - 21/2/2015


      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


          David N. Welton created issue -
          Bruno Busco made changes -
          Field Original Value New Value
          Link This issue relates to OFBIZ-1732 [ OFBIZ-1732 ]
          Bruno Busco made changes -
          Link This issue incorporates OFBIZ-1733 [ OFBIZ-1733 ]
          Gavin made changes -
          Workflow jira [ 12383570 ] OFbiz Workflow [ 12505798 ]
          Adam Heath made changes -
          Assignee Adam Heath [ doogie ]
          Sharan Foga made changes -
          Sprint Bug Crush Event - 21/2/2015 [ 91 ]
          Sharan Foga made changes -
          Rank Ranked higher
          Sharan Foga made changes -
          Rank Ranked higher
          Sharan Foga made changes -
          Rank Ranked higher


            • Assignee:
              Adam Heath
              David N. Welton
            • Votes:
              2 Vote for this issue
              0 Start watching this issue


              • Created: