Avoid the creation of properties by mistake
pgambier opened this issue · 0 comments
pgambier commented
The same syntax is used to create a new property and to assign a value to an existing one which can lead to mistakes.
Example :
transformer('PST_ID').phaseTapChanger.tapPosition = 20
The value of the tap position for Boutre is assigned to 20.
transformer('PST_ID').phaseTapChanger.tapPoistion = 20
The tapPoistion property is created and assigned to 20.
Suggestions :
- Change the syntax
- Create a safe mode to avoid the creation of properties if not necessary