Uploaded image for project: 'Spring.NET'
  1. Spring.NET
  2. SPRNET-1409

Bug in MethodParametersCriteria.IsSatisfied() Method

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.1
    • Fix Version/s: 2.0 M1
    • Component/s: Spring-NET-CORE
    • Labels:
      None

      Description

      It seems like a bug exists in the MethodParametersCriteria.IsStatisfied(object) method. The method looks to return true as long as the last parameter being checked against the target type is the same, ignoring all previous parameters.

      So if I'm trying to find a method foo(string, Guid), the satisfied boolean would return true for foo(Guid, Guid) as well.

      File with what I believe should be the correct implementation of the IsSatisfied() method is attached.

        Attachments

          Activity

            People

            Assignee:
            sbohlen Steve Bohlen
            Reporter:
            mpchou Marcus Chou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: