Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The HasMailAttribute matcher fails to properly call super.init(), resulting in getMatcherConfig returning null, in violation of the Matcher interface.

        Activity

        Amichai Rothman created issue -
        Hide
        Amichai Rothman added a comment -

        Fixes improper (not) calling of super.init() in HasMailAttribute, and standardizes HasMailAttributeWithValue as well - these are the only two standard mailets that were overriding init(config) instead of init(). The patch makes both of them override init() instead.

        Show
        Amichai Rothman added a comment - Fixes improper (not) calling of super.init() in HasMailAttribute, and standardizes HasMailAttributeWithValue as well - these are the only two standard mailets that were overriding init(config) instead of init(). The patch makes both of them override init() instead.
        Amichai Rothman made changes -
        Field Original Value New Value
        Attachment has_mail_attribute_NPE.diff [ 12414897 ]
        Amichai Rothman made changes -
        Attachment has_mail_attribute_NPE.diff [ 12414897 ]
        Amichai Rothman made changes -
        Attachment has_mail_attribute_NPE.diff [ 12414898 ]
        Hide
        Robert Burrell Donkin added a comment -

        Committed. Many thanks.

        Robert

        Show
        Robert Burrell Donkin added a comment - Committed. Many thanks. Robert
        Robert Burrell Donkin made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Ioan Eugen Stan made changes -
        Project James Mailets Standard [ 12310869 ] James Mailet [ 12310660 ]
        Key MAILETSTANDARD-4 MAILET-73

          People

          • Assignee:
            Robert Burrell Donkin
            Reporter:
            Amichai Rothman
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development