Skip to content

Renaming a method results in loss of code #143

@therckenrath

Description

@therckenrath

Describe the bug
When you rename a method in Schema the definition in Model is completely replaced and implementation of the method disappears completely.
When the method is renamed back to its original name, the definition in Model is again completely erased and the implementation of that method is reset to the default template - the original code is gone.

To Reproduce
Steps to reproduce the behavior:

  1. Create a Schema with a method and implement the code in the method.
  2. Rename the method in the Schema
  3. Click on the method name in Model - no method is displayed
  4. Rename the method back to its original name
  5. Click on the method name in Model - the default method template is displayed

Expected behavior
I expect the name of the method to be updated in Model and in the implementation of the method and I expect the code of the implementation to remain untouched.

Desktop (please complete the following information):

  • Crostini under Chrome OS
  • Version 96.0.4664.111 (Official Build) (64-bit)

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