-
Type: Bug
-
Status: Tested
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.13, 1.13.1, 1.13.2, 1.13.3, 1.14, 1.14.1, 1.14.2, 1.15, 1.15.1, 1.16, 1.16.1, 1.16.2, 1.17, 1.18, 1.19, 1.20, 1.21, 1.22, 1.23, 1.24, 1.25, 1.26, 1.26.1, 1.26.2, 1.26.3, 1.27, 1.28, 1.28.1, 1.29, 1.30, 1.31, 1.31.1, 1.32, 33, 34, 35, 36, 37, 38, 39, 38.1, 40, 41, 40.1, 42, 43, 44, 45, 46, 47, 48, 49, 50
-
Fix Version/s: 51
-
Component/s: Workflow
-
Tests Type:GUI automatic
-
Sprint:DEV-51-4
-
Affect Type:Userdefined
Scenario 1.
- Close the project if it is open (File->Close project).
- Enable the debug mode:
- "Preferences..."- >"Workflow Designer"->"Runtime settings".
- Check "Enable debugger".
- Click "OK" to confirm.
- Open the WD ("Run or Create Workflow" on the "Start Page").
The "Choose Output Directory" dialog may appear. Set any directory and click "OK".
Finally the WD window appeared. - Add any element from the "Elements"->"Data Readers" category to the Scene. For example, "Read Alignment" (drag it from the Palette to the Scene).
- Set any valid input. For our example:
- Select the "Read Alignment" element by clicking on it.
In the "Property Editor"->"Parameters" the "Dataset 1" tab appears with the "Add file(s)" button. - Click "Add file(s)".
The "Select file" dialog appears. - Choose "data/samples/CLUSTALW/COI.aln".
The input is set.
- Select the "Read Alignment" element by clicking on it.
- Press Ctrl+B (⌘+B) (Break at element).
The "Read alignment" element has a red frame. - Press Ctrl+C then Ctrl+V (or ⌘+C and ⌘+V) to copy and paste the selected element and duplicate it on the Scene.
Current state: both elements have a regular black frame, even the first one that has the breakpoint set. - Press Ctrl+R (⌘+R) (Run workflow).
Current state: crash.
Scenario 2.
- Repeat steps 1-7 of the Scenario 1.
- Click "Show or hide breakpoint manager" on the main toolbar.
The "Breakpoints" table appears.
Current state: there is a breakpoint on the "Read Alignment" element, but none of the Scene elements have the red frame. - In this table click on the "Read Alignment" cell to select the breakpoint.
The "Highlight selected item" button in the breakpoint manager is enabled. - Click "Highlight selected item".
Current state: crash.
Expected state: obviously, after pasting the element, the breakpoint invariants are broken. It doesn't matter what strategy the assignee chooses, as long as all widgets and invariants remain in a consistent state.- If pasting an element deletes the breakpoint, this should be shown in the breakpoint manager. Also, the workflow should run without pauses.
- It makes more sense to keep a breakpoint on the element being copied, and not add a breakpoint on the duplicate element. In this case, the earlier element should have the red frame, and the duplicate should have a black frame. The breakpoint manager should have the single breakpoint from which all actions can be executed without crashing. The workflow should pause on the first element and, by default, not pause on the second.
- The assignee can even copy the breakpoint on paste. In this case, both elements should have the red frame and be visible in the breakpoint manager; the workflow should pause on each element.
There should be no crashes in any of the cases.
- relates to
-
UGENE-8080 [Wd, debug] Log message if breakpoint is on 1st element
- Open
-
UGENE-8079 [Crash, wd, debug] Double opening sample and setting breakpoint
- Tested
-
UGENE-8126 [Wd] Refactoring recreating scene
- Open