Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-904

Add a flag for better backward compatibility with null macro arguments

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.0
    • 2.2
    • Engine
    • None

    Description

      See this comment :

      #macro(testmacro $parameter)
        $parameter
      #end
      
      #testmacro($return)
      

      which used to print "$return" (when $return is null or undefined) and we now get "$parameter".

       

      Attachments

        Activity

          People

            cbrisson Claude Brisson
            cbrisson Claude Brisson
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: