Skip to content
This repository was archived by the owner on May 16, 2018. It is now read-only.
This repository was archived by the owner on May 16, 2018. It is now read-only.

Avoid the creation of properties by mistake #104

@pgambier

Description

@pgambier

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 :

  1. Change the syntax
  2. Create a safe mode to avoid the creation of properties if not necessary

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions