Commons Digester
  1. Commons Digester
  2. DIGESTER-25

Invalid bean setters do not generate an exception

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3
    • Fix Version/s: None
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: All

      Description

      In particular, when using the addBeanPropertySetter method of the Digester (but
      probably with other similar methods). The second parameter describes the name of
      the bean property from which the setter method is generated. If this method is
      not present in the bean, Digester does NOT generate any kind of exception or
      notification. This is easily done by (for example) using an upper case charater
      in place of a lower for the bean property name.

      Digester should generate and exception when a rule is fired, and the bean setter
      method is not found in the bean.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Howard Miller
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development