epam / ketcher

Web-based molecule sketcher
https://lifescience.opensource.epam.com/ketcher/demo.html
Apache License 2.0
474 stars 164 forks source link

Macro: Loading from file and than - Undo changes causes exceptions and breakes selection/moving fuctionality #3756

Closed AlexeyGirin closed 9 months ago

AlexeyGirin commented 9 months ago

Steps to Reproduce

  1. Switch to Macromolecules view
  2. Load this file: PeptideEnumeration_One_Two_Three connections3.zip (unzip first)
  3. Load the same file once again
  4. Press Undo button image
  5. Select all elements on the canvas image
  6. Try to move selection

Actual behavior System throws exceptions to console: polymer.test.lifescience.opensource.epam.com-1703157072453.log Moving functionality is broken image

Expected behavior No exception in log, app works as intended

Desktop (please complete the following information):

Ketcher version [e.g. v2.4.2]. image

Zhirnoff commented 9 months ago

Test added to automation table.

AlexeyGirin commented 9 months ago

Fixed.