epam / ketcher

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

If you remove attachment point bond and try to add a new one to structure, it disappears #4848

Closed Zhirnoff closed 3 weeks ago

Zhirnoff commented 1 month ago

Steps to Reproduce

  1. Add Benzene ring on canvas and add on it attachment point by right click menu
  2. Select 'Erase tool' and delete attachment point bond
  3. Add new attachment point by right click menu

Actual behavior If you remove attachment point bond and try to add a new one to structure, it disappears. Errors in DevTool Console

Expected behavior After removing attachment point bond, a new one can be added without errors.

Video

https://github.com/epam/ketcher/assets/62464241/2337f106-acf7-48e2-bf11-15fd746ae120

Desktop:

Ketcher version [Version 2.22.0-rc.6] Indigo version [Version 1.21.0-rc.1] Bug finded when tested: https://github.com/epam/ketcher/issues/4530

Guch1g0v commented 1 month ago

Perhaps already fixed

Zhirnoff commented 3 weeks ago

Pretested on local build 2.23 Bug is not reproduced. 2024-06-24_12h10_04