Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-9412

Update Macro Expander for replacement logic

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 6.3, 7.0
    • None
    • None

    Description

      MacroExpander class was updated to allow to return null when replacement parameters are missing. Right now it defaults to a blank space and it isn't easily verifiable that a parameter was missing. Additionally, unit tests were added for this case and the original use cases of Macro Expander.

      Attachments

        1. SOLR-9412.patch
          6 kB
          Christine Poerschke

        Issue Links

          Activity

            People

              cpoerschke Christine Poerschke
              jdorando Jon Dorando
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: