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

Update Macro Expander for replacement logic

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.3, 7.0
    • Component/s: None
    • Security Level: Public (Default Security Level. Issues are Public)
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: