Uploaded image for project: 'Commons Validator'
  1. Commons Validator
  2. VALIDATOR-68

ValidatorResources.get-method not working properly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Builds
    • 1.1.0 (alpha)
    • None
    • None
    • Operating System: All
      Platform: PC

    • 14384

    Description

      The get-method in the ValidatorResources is not working properly as it returns
      always null if the exact combination of language, country and variant is not
      found in the formset-declaration of the validation.xml. I expected it to work
      like the struts PropertyMessageResource class trying to retrieve first the most
      specific formset and at last retrieving the most general formset.

      Attachments

        1. ASF.LICENSE.NOT.GRANTED--patchfile.txt
          3 kB
          Björn-H. Moritz
        2. ASF.LICENSE.NOT.GRANTED--patchfile.txt
          3 kB
          Björn-H. Moritz

        Activity

          People

            Unassigned Unassigned
            bmoritz@gmx.de Björn-H. Moritz
            Votes:
            2 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: