[jira] [Comment Edited] (VELOCITY-904) Add a flag for better backward compatibility with null macro arguments

2020-01-20 Thread Thomas Mortagne (Jira)
[ https://issues.apache.org/jira/browse/VELOCITY-904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17019574#comment-17019574 ] Thomas Mortagne edited comment on VELOCITY-904 at 1/20/20 4:13 PM: --- I

[jira] [Comment Edited] (VELOCITY-904) Add a flag for better backward compatibility with null macro arguments

2020-01-20 Thread Thomas Mortagne (Jira)
[ https://issues.apache.org/jira/browse/VELOCITY-904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17019574#comment-17019574 ] Thomas Mortagne edited comment on VELOCITY-904 at 1/20/20 4:11 PM: --- I

[jira] [Comment Edited] (VELOCITY-904) Add a flag for better backward compatibility with null macro arguments

2020-01-20 Thread Thomas Mortagne (Jira)
[ https://issues.apache.org/jira/browse/VELOCITY-904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17019574#comment-17019574 ] Thomas Mortagne edited comment on VELOCITY-904 at 1/20/20 4:10 PM: --- I

[jira] [Commented] (VELOCITY-904) Add a flag for better backward compatibility with null macro arguments

2020-01-20 Thread Thomas Mortagne (Jira)
[ https://issues.apache.org/jira/browse/VELOCITY-904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17019574#comment-17019574 ] Thomas Mortagne commented on VELOCITY-904: -- I don't think we understand each other. In my

[jira] [Commented] (VELOCITY-904) Add a flag for better backward compatibility with null macro arguments

2020-01-20 Thread Claude Brisson (Jira)
[ https://issues.apache.org/jira/browse/VELOCITY-904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17019570#comment-17019570 ] Claude Brisson commented on VELOCITY-904: - But maybe I misunderstood your use case. You'll have

[jira] [Commented] (VELOCITY-904) Add a flag for better backward compatibility with null macro arguments

2020-01-20 Thread Claude Brisson (Jira)
[ https://issues.apache.org/jira/browse/VELOCITY-904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17019556#comment-17019556 ] Claude Brisson commented on VELOCITY-904: - Yes. It means that if {{$test.name}} is null in the

[jira] [Comment Edited] (VELOCITY-904) Add a flag for better backward compatibility with null macro arguments

2020-01-20 Thread Thomas Mortagne (Jira)
[ https://issues.apache.org/jira/browse/VELOCITY-904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17019550#comment-17019550 ] Thomas Mortagne edited comment on VELOCITY-904 at 1/20/20 3:18 PM: ---

[jira] [Commented] (VELOCITY-904) Add a flag for better backward compatibility with null macro arguments

2020-01-20 Thread Thomas Mortagne (Jira)
[ https://issues.apache.org/jira/browse/VELOCITY-904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17019550#comment-17019550 ] Thomas Mortagne commented on VELOCITY-904: -- Not sure what you mean. Are you saying this

[jira] [Commented] (VELOCITY-904) Add a flag for better backward compatibility with null macro arguments

2020-01-20 Thread Claude Brisson (Jira)
[ https://issues.apache.org/jira/browse/VELOCITY-904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17019543#comment-17019543 ] Claude Brisson commented on VELOCITY-904: - 2.x macros are more like functions than macros.

Re: [ANNOUNCE] Velocity Engine 2.2 RC4 test build available

2020-01-20 Thread Claude Brisson
Let us summarize the behavior in question. You have a template A which calls a macro M which in turn calls a template B. A defines $foo, B changes its value, and you want the new value to be visible in A but not in M. Is that right? Not quite. In Velocity 1.7 unless M also sets this value

[jira] [Commented] (VELOCITY-904) Add a flag for better backward compatibility with null macro arguments

2020-01-20 Thread Thomas Mortagne (Jira)
[ https://issues.apache.org/jira/browse/VELOCITY-904?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17019513#comment-17019513 ] Thomas Mortagne commented on VELOCITY-904: -- Just found another related regression: {noformat}