Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-3082

Incomplete error message when failing to create a form bean

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.8
    • Fix Version/s: 1.3.10, 1.4.0
    • Component/s: Tag Libraries
    • Labels:
      None
    • Environment:
      Windows XP (but will happen everywhere)

      Description

      Failure to create a form bean results in an incomplete error message.

      Struts 1.3.8, taglib component.

      Class org.apache.struts.taglib.html.FormTag,
      method initFormBean()
      Lines 514-516: Throwing a JspException using the "formTag.create" message.

      The "formTag.create" message receives two arguments, however on lines 514-516 it is given only one argument, resulting in a message such as:

      Exception creating bean of class <class-name>:

      {1}

        Attachments

          Activity

            People

            • Assignee:
              pbenedict Paul Benedict
              Reporter:
              isaac_s Isaac Shabtay
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: