Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-750

No error message if the filename provided PropertyFileConfig implementation isn't found.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.3
    • 1.2.0
    • Configuration
    • None

    Description

      As per summary, I have a simple PropertyFileConfig implementation class providing a configuration filename for the configuration module to pick up, but I've been frustrated by the lack of error handling because it just quietly ignores invalid/missing filenames instead of providing an error message.

      Ideally, an issue like this would prevent bootstrapping and fail-fast with a relevant error message.

      I'm not familiar enough with the code base to be sure but it looks to me like this should be fixed in PropertyFileUtils.resolvePropertyFiles() which should throw a FileNotFoundException if it doesn't find the given file on the classpath?

      Attachments

        Issue Links

          Activity

            People

              gpetracek Gerhard Petracek
              cpuffalt Corey Puffalt
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: