Affects Version/s: None
Fix Version/s: None
Component/s: Promise type: edit_line
When expanding templates with code like the following:
edit_defaults => empty,
edit_template => "$(path).tmpl",
I get this error:
expand.c:287: ProgrammingError: ExpandAndMapIteratorsFromScalar called with invalid strlen
Looking at the current sources, it seems the error stems from
''ExpandAndMapIteratorsFromScalar()'' being called with a string of
length larger than 4096 (''CF_BUFSIZE'').
So, this will happen if you use large-ish ''[%CFEngine BEGIN/END %]''
blocks in your templates.
Version 3.4.2 did not have this limitation, can you please lift it