Skip to content

[BUG] When changes are saved in the code interface, new objects get created in DB #339

@WolfgangDaniel

Description

@WolfgangDaniel

Describe the bug

When changes are saved to the cloud in the code interface, new objects get created in DB. Even if the changes should have only updated the existing objects in the DB. This can lead to Problems when executing a robot. If user input is required, it might get requested multiple times from the user as the same object is saved multiple times in the DB.

To Reproduce

Steps to reproduce the behavior:

  1. Go to Modeler Interface and build a robot, save it to the cloud.
  2. Go to DB and check parameter and rpaattributes objects for the robot.
  3. Go to Coder Editor Interface and change the robot and save it to the cloud.
  4. Go to DB and check parameter and rpaattributes objects for the robot.
  5. See that there were new Objects created for all activities of the robot although the existing one should have just been updated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugIssues that deal with something that is not working and should be fixed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions