epam / epam/Indigo

The ordering of reactions is changed after Undo/Redo of adding from file and Layout or Save/Load actions to/from RDF

Open
#2,585 0 comments 0 reactions 1 assignee Claimed by @even1024 View on GitHub
Cascade reactions MMPK Priority: High
Dominant language
C++
Stars
406
Forks
134
Avg merge
2d 11h
Merged PRs (30d)
24

Description

**Steps to Reproduce**
1. Load from ket or rdf several reactions:
[rdf-issue.zip](https://github.com/user-attachments/files/17523038/rdf-issue.zip)
[ket-issue-2.zip](https://github.com/user-attachments/files/17523040/ket-issue-2.zip)
![image](https://github.com/user-attachments/assets/cf6baa12-5acc-4c2e-873e-08e6f36e3806)
2. Undo adding of reactions
3. Redo adding of reactions
4. Make save/load to RDF or layout actions

**Actual behavior**
The ordering is changed:
![image](https://github.com/user-attachments/assets/b5bee0f0-bba5-4a44-8be4-c81324703916)

**Expected behavior**
The ordering isn't changed, it's as on step 1

**Environment details:**
- Reproduced on RC SA env;
- Ketcher [Version 2.26.0-rc.6] Build at 2024-10-25; 09:57:12;
- Indigo Version 1.25.0-rc.4.0-g8862ccb7e-wasm32-wasm-clang-19.0.0
- Desktop, Windows 11 Enterprise
- Chrome, Version 130.0.6723.70 (Official Build) (64-bit)

**Additional context**
- The fix is detected during retesting of https://github.com/epam/Indigo/issues/2454, but initially it's related to https://github.com/epam/Indigo/issues/2422

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.