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

Configure stackTrace displaying on ftl rendering

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Trunk
    • None
    • framework
    • None

    Description

      Currently when freemarker failed to execute a template, you have on end screen rendered all java stack trace generate.

      I propose to improve this to display the stack trace only when the property widget.verbose is true, no regression during development and when you switch to production site, in general your widget.verbose is false so end user haven't stack trace (that totally unused for them).

       

      Attachments

        1. Failure.png
          116 kB
          Nicolas Malin
        2. FailureSafe.png
          42 kB
          Nicolas Malin
        3. OFBIZ-10817_Use-method-references-instead-of-lambda-ins.patch
          4 kB
          Mathieu Lirzin
        4. OFBIZ-10817.patch
          5 kB
          Nicolas Malin
        5. OFBIZ-10817.patch
          3 kB
          Nicolas Malin
        6. OFBIZ-10817.patch
          3 kB
          Nicolas Malin
        7. Sélection_236.png
          2 kB
          Nicolas Malin
        8. Sélection_237.png
          17 kB
          Nicolas Malin

        Activity

          People

            mthl Mathieu Lirzin (Inactive)
            nmalin Nicolas Malin
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: