chairemobilite / evolution

Online survey platform for travel survey

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generator: Fix problems when widgets path are missing

samuel-duhaime opened this issue · comments

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.

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)

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.