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

Configure stackTrace displaying on ftl rendering

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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. FailureSafe.png
          42 kB
          Nicolas Malin
        2. Failure.png
          116 kB
          Nicolas Malin
        3. OFBIZ-10817.patch
          3 kB
          Nicolas Malin
        4. OFBIZ-10817.patch
          3 kB
          Nicolas Malin
        5. OFBIZ-10817.patch
          5 kB
          Nicolas Malin
        6. Sélection_236.png
          2 kB
          Nicolas Malin
        7. Sélection_237.png
          17 kB
          Nicolas Malin
        8. OFBIZ-10817_Use-method-references-instead-of-lambda-ins.patch
          4 kB
          Mathieu Lirzin

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment