Jira (PUP-2883) epp does not handle empty template

2014-10-01 Thread Kurt Wall (JIRA)
Title: Message Title










 

 Kurt Wall updated an issue


















 Puppet /  PUP-2883



  epp does not handle empty template 










Change By:

 Kurt Wall




QA Status:

 Reviewed












   

 Add Comment






















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2883) epp does not handle empty template

2014-07-21 Thread Kurt Wall (JIRA)
Title: Message Title










 

 Kurt Wall updated an issue


















 Puppet /  PUP-2883



  epp does not handle empty template 










Change By:

 Kurt Wall




Assignee:

 KurtWall












   

 Add Comment






















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2883) epp does not handle empty template

2014-07-21 Thread Kurt Wall (JIRA)
Title: Message Title










 

 Kurt Wall assigned an issue to Kurt Wall


















 Puppet /  PUP-2883



  epp does not handle empty template 










Change By:

 Kurt Wall




Assignee:

 KurtWall












   

 Add Comment






















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2883) epp does not handle empty template

2014-07-14 Thread Henrik Lindberg (JIRA)
Title: Message Title










 

 Henrik Lindberg updated an issue


















 Puppet /  PUP-2883



  epp does not handle empty template 










Change By:

 Henrik Lindberg









 Wheneppistoldtoevaluateanemptytemplate,theresultisacomplaintthattheendofinputisreached.eppshouldproduceanemptystringinthissituationandnotcomplain.Toreproduce:{code}noticeinline_epp(@ ( END),{x=world})%-|$x|%|-END{code}Thistemplatehasaparameter,butnoothercontentinthetemplate.












   

 Add Comment






















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2883) epp does not handle empty template

2014-07-14 Thread Henrik Lindberg (JIRA)
Title: Message Title










 

 Henrik Lindberg commented on an issue


















  Re: epp does not handle empty template 










This also reproduces the problem:





notice inline_epp(@(END)) -END {end}
The problem occurs because the grammar requires there to be at least one statement in the body (a string to emit, or some puppet _expression_). Thus, this is not a big problem, but the error message is baffling. The grammar should be changed to allow for an empty epp body. If we want to validate that epp actually contains something we can handle that in validation, but it is questionable if that should be done, since the configuration may want the logic to use a template that is different on different branches, and sometimes want the configuration to have a template that is empty.
Thus, the fix is to only change the grammar to accept an empty body.












   

 Add Comment

























 Puppet /  PUP-2883



  epp does not handle empty template 







 When epp is told to evaluate an empty template, the result is a complaint that the end of input is reached. epp should produce an empty string in this situation and not complain.   To reproduce:  {code}  notice inline_epp(@(END), {x = world})  %-| $x| %  |- END  {code}  This template has a parameter, but no other content in the template. 















   

Jira (PUP-2883) epp does not handle empty template

2014-07-14 Thread Joshua Partlow (JIRA)
Title: Message Title










 

 Joshua Partlow commented on an issue


















  Re: epp does not handle empty template 










Merged to master in d766dd6d












   

 Add Comment

























 Puppet /  PUP-2883



  epp does not handle empty template 







 When epp is told to evaluate an empty template, the result is a complaint that the end of input is reached. epp should produce an empty string in this situation and not complain.   To reproduce:  {code}  notice inline_epp(@(END), {x = world})  %-| $x| %  |- END  {code}  This template has a parameter, but no other content in the template. 















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2883) epp does not handle empty template

2014-07-09 Thread Andy Parker (JIRA)
Title: Message Title










 

 Andy Parker assigned an issue to Unassigned


















 Puppet /  PUP-2883



  epp does not handle empty template 










Change By:

 Andy Parker




Assignee:

 AndyParker












   

 Add Comment






















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-2883) epp does not handle empty template

2014-07-03 Thread Henrik Lindberg (JIRA)
Title: Message Title










 

 Henrik Lindberg updated an issue


















 Puppet /  PUP-2883



  epp does not handle empty template 










Change By:

 Henrik Lindberg




Sprint:

 Week2014-7-9to2014-7-23












   

 Add Comment






















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups Puppet Bugs group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.