View Issue Details

IDProjectCategoryView StatusLast Update
0005572CTT UA Binary2 - CTT Binarypublic2023-02-18 21:21
ReporterJochen Baier Assigned ToArchie Miller  
PrioritylowSeverityminorReproducibilityalways
Status closedResolutionfixed 
Target Version1.10.0.403Fixed in Version1.10.0.403 
Summary0005572: Script Editor: "};" + return key freezes CTT programm (UI)
Description

script with content:

--script start--
};
--script end--

if now the return key is pressed (at end of line) the CTT UI is freezing for ever.

Steps To Reproduce

add empty script
type (without ticks): '};'
press return key at end of line
the CTT UI is freezing and the process needs to be restarted

TagsArchie
Attached Files
ctt_freeze.png (2,224 bytes)   
ctt_freeze.png (2,224 bytes)   
Files Affected

src/editor/textedit.cpp

Activities

Paul Hunkar

2020-04-10 15:23

administrator   ~0011891

Yes this is a problem, but most user are not building their own test scripts and if they are it is easy enough to not enter a do nothing script that is just a close bracket.
Thus this is a low priority issue.

Jochen Baier

2020-04-14 06:32

reporter   ~0011904

the example is reduced to a minimum. It also freezes between real code. Maybe if no opening bracket is found before the top of the script is reached.

Archie Miller

2022-09-26 21:05

administrator   ~0017844

Fix for Mantis 5572.

Check to ensure the block is valid. if not, then break out of the loop with no indentation.

Paul Hunkar

2023-02-18 21:21

administrator   ~0018758

reviewed changes, agreed to changes and closed issue

Issue History

Date Modified Username Field Change
2020-04-08 08:03 Jochen Baier New Issue
2020-04-08 08:03 Jochen Baier File Added: ctt_freeze.png
2020-04-10 15:23 Paul Hunkar Assigned To => Paul Hunkar
2020-04-10 15:23 Paul Hunkar Status new => acknowledged
2020-04-10 15:23 Paul Hunkar Note Added: 0011891
2020-04-10 15:23 Paul Hunkar Assigned To Paul Hunkar =>
2020-04-14 06:32 Jochen Baier Note Added: 0011904
2022-08-11 05:53 Paul Hunkar Tag Attached: Archie
2022-08-18 14:05 Paul Hunkar Assigned To => Archie Miller
2022-08-18 14:05 Paul Hunkar Status acknowledged => assigned
2022-09-26 21:05 Archie Miller Status assigned => resolved
2022-09-26 21:05 Archie Miller Resolution open => fixed
2022-09-26 21:05 Archie Miller Note Added: 0017844
2022-09-26 21:06 Archie Miller Files Affected => src/editor/textedit.cpp
2022-10-15 00:40 Paul Hunkar Project Compliance Test Tool (CTT) Unified Architecture => CTT UA Binary
2023-02-18 21:20 Paul Hunkar Fixed in Version => 1.10.0.403
2023-02-18 21:20 Paul Hunkar Target Version => 1.10.0.403
2023-02-18 21:21 Paul Hunkar Status resolved => closed
2023-02-18 21:21 Paul Hunkar Note Added: 0018758