Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to save canvas to CDX - system throws an error: Convert error! array: invalid index 2 (size=2) #2558

Closed
AlexeyGirin opened this issue Oct 16, 2024 · 2 comments · Fixed by #2570
Assignees
Labels
Bug MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes Priority: High regression

Comments

@AlexeyGirin
Copy link
Collaborator

AlexeyGirin commented Oct 16, 2024

NOTE: This is the regress appeared after August 17th
As per @AliaksandrDziarkach - this is because one arrow misses molecule box

Steps to Reproduce

  1. Go to Molecules mode
  2. Load from file: 4 mol.ket.zip
    image
  3. Export canvas to CDXML

Actual behavior
System throws exception: Convert error! array: invalid index 2 (size=2)
image

Expected behavior
Export works correct

Versions

  • Ketcher Version 2.26.0-rc.2 Build at 2024-10-14; 19:59:03
  • Indigo Toolkit Version 1.25.0-rc.2.0-g867ae250b-wasm32-wasm-clang-19.0.0
  • Chrome Version 129.0.6668.101 (Official Build) (64-bit)
  • Win10

Issue found while testing - #2217

@AlexeyGirin AlexeyGirin added Bug regression Priority: High MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes labels Oct 16, 2024
@AlexeyGirin AlexeyGirin added this to the Indigo-1.25.0-rc.3 milestone Oct 16, 2024
@AlexeyGirin
Copy link
Collaborator Author

As per @AliaksandrDziarkach - this is because one arrow misses molecule box

@Zhirnoff
Copy link
Collaborator

Tested. Bug fixed. But after loading CDXML file structure lose valence #2582
2024-10-26_13h07_07

2024-10-26_13h09_24

Desktop:

  • OS: Windows 11
  • Browser Chrome
  • Version 128.0.6613.120 (Official Build) (64-bit)

Ketcher version
[Version 2.26.0-rc.6]
Indigo version
[Version 1.25.0-rc.4]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug MMPK Scope for Pathway reactions, View-only mode, Static images, Custom buttons and Ketcher API changes Priority: High regression
Projects
None yet
3 participants