Uploaded image for project: 'Felix'
  1. Felix
  2. FELIX-2107

Bundle.findEntries() matches '*<filePattern>' instead of '<filePattern>'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • framework-2.0.2
    • framework-2.0.5
    • Framework
    • None

    Description

      If findEntries() is called without wildcards in <filePattern> and the bundle contains more than one resource ending with <filePattern> then URLs for all those resources are returned instead of the one exact match.

      E.g. if the bundle contains the files:

      • WEB-INF/web.xml
      • WEB-INF/1-web.xml
        then findEntries("WEB-INF", "web.xml", false) will return 2 URLs instead of 1.

      Attachments

        1. bug_findentries-0.0.1-SNAPSHOT.jar
          6 kB
          Matthias Küspert

        Activity

          People

            rickhall Richard S. Hall
            mkuespert Matthias Küspert
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: