voidlabs / mosaico

Mosaico - Responsive Email Template Editor
https://mosaico.io
GNU General Public License v3.0
1.68k stars 502 forks source link

Fix undefined property when adding a property with a different default value. #620

Closed tbolon closed 2 years ago

tbolon commented 2 years ago

short story: a property accessor is missing an _ raising another exception and making debugging difficult.

When developing a template, I found myself stuck with a strange error about an unidentified property.

After some investigation, I found that I was adding a property with a different defaultValue than a previous one declared, but the exception was not helpful.

This fix simply add the missing character.

bago commented 2 years ago

Thank you!

tbolon commented 2 years ago

Thank you for this wonderful project :)