epam / epam/Indigo

Warning is displayed "Error at loading structure, wrong format found" for Check Structure action and for saving of different arrows to different formats

Open
#2,212 0 comments 0 reactions 0 assignees View on GitHub
Priority: Medium
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Steps to Reproduce for Check Structure scenario**
1. Open Canvas in Remote mode
2. Add any arrow to Canvas
3. Click on Check Structure

**Actual behavior**
- Warning is displayed "Error at loading structure, wrong format found":
![image](https://github.com/user-attachments/assets/73be3119-d091-4e54-ae3e-3172b3da7071)

**Expected behavior**
- Warning shouldn't be displayed for any type of arrow

**Steps to Reproduce for Saving scenario**
1. Add any arrow to Canvas
2. Click on Save as...
3. Select any format (KET Format, MDL RXN V2000, MDL RXN V3000, Daylight SMARTS, Daylight SMILES, Extended SMILES, CML, SVG Document, PNG Image, CDXML, Base 64 CDX, CDX) and look at warning tab

**Actual behavior**
- Warning is displayed "Error at loading structure, wrong format found":
![image](https://github.com/user-attachments/assets/ac90be8c-94d4-4656-9a23-6a66f13c7aaf)

**Expected behavior**
- Warning "Error at loading structure, wrong format found" shouldn't be displayed

**Environment details:**
- **Ketcher** [Version 2.24.0-rc.1] Build at 2024-08-06; 19:25:43
- **Indigo** Version 1.23.0-rc.1.0-g85f89b8f5-x86_64-linux-gnu-11.2.1
- OS: Windows 11 Enterprise
- Browser: Chrome, Version 127.0.6533.100 (Official Build) (64-bit)

**Additional context**
- Detected during testing for Image feature, but issue isn't related to Image feature - https://github.com/epam/Indigo/issues/2029;

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the warning through the Check Structure action and the Save as... flow using an arrow in Canvas, then trace the structure-loading and export entry points for the listed formats. Compare handling across arrow types and formats; done means no "Error at loading structure, wrong format found" warning appears in either scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.