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

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          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:

              Slack

                Issue deployment