Mantis Bugtracker          
testlink.org

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008589TestLinkTest Execute - Edit notes & Custom Fieldspublic2019-03-07 09:182019-03-13 22:30
Reporterlarsen1 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
PlatformOSOS Version
Product Version1.9.18 (2018 Q3) 
Fixed in Version 
Summary0008589: Pressing Enter in custom field reloads page
DescriptionIn Test Execution entering some value to a custom field and then pressing Enter empties all fields
Steps To Reproduce1. Test Execution
2. Enter some Test Step data, execution status and Test Case Note
3. Enter data to a custom field, end with Enter button
4. Execution window reloads with all fields cleared
Additional InformationTest Step reload set:
$tlCfg->exec_cfg->exec_mode->new_exec='latest';
$tlCfg->exec_cfg->steps_exec_notes_default = 'latest';
TagsNo tags attached.
Database (MySQL,Postgres,etc)MariaDB
Browser
PHP Version7.0
TestCaseID
QA Team - Task Workflow Status
Attached Files

- Relationships

-  Notes
(0028576)
fman (administrator)
2019-03-07 20:19
edited on: 2019-03-07 20:20

please get latest code from github, do fresh install,retest & provide feedback

please provide a detailed example of custom fields used

(0028594)
larsen1 (reporter)
2019-03-13 14:41

Made a 1.9.19 clean without custom settings, same problem.
Custom fields used both in Test Specification and Execution. Both places have the problem.
Five CFs in Execution and two in Test Spec, all are strings, not required.
Zero or more in length creates the problem.
Used for serial number, program version, tools etc
Tab to next CF ok

Chrome, IE11 and Firefox all same
(0028599)
fman (administrator)
2019-03-13 22:30

The issue does not seem related to the usage of custom fields, but to the use of input of type='submit'.

The solution seems to be to use input type='button'

(see https://stackoverflow.com/questions/895171/prevent-users-from-submitting-a-form-by-hitting-enter [^])

- Issue History
Date Modified Username Field Change
2019-03-07 09:18 larsen1 New Issue
2019-03-07 20:19 fman Note Added: 0028576
2019-03-07 20:20 fman Note Edited: 0028576 View Revisions
2019-03-13 14:41 larsen1 Note Added: 0028594
2019-03-13 22:30 fman Note Added: 0028599



Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker