Generator: Fix problems when widgets path are missing
samuel-duhaime opened this issue · comments
Samuel Duhaime-Morissette commented
Issue
Description
Right now, the locales .yml files are created with a null name when a widget are generated with an empty path.
Possible solution
We might use the questionName and not the path for every locale file name.
Geneviève Bastien commented
Or the generator could log a warning/error when the path is missing, along with the line number and just do nothing (if such a widget is problematic)
Samuel Duhaime-Morissette commented
Or the generator could log a warning/error when the path is missing, along with the line number and just do nothing (if such a widget is problematic)
@tahini
Yes, that could be easier to do.