Expected behavior
The strings from the selected column are displayed within the dialog.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
OS: 10x64
Version v1.1.5.2303
Additional context
Add any other context about the problem here.
(Do not write below this line)
DEVS' SECTION
ANALYSIS
In dialogCommand() (part of winlayout.cpp) is only checked, whether the expression is a string expression, but possible accesses to any table are omitted. Add a check, whether tables are used in the expression and resolve them correspondingly.
DESCRIPTION
Describe the bug The
dialog
command does not accept strings coming from a table as their default value.To Reproduce Steps to reproduce the behavior:
TABLE()
containing strings used as default valuesdialog TABLE(:,1) -set type=listeditor title="NumeRe: Create record" msg="Create new database record";
Expected behavior The strings from the selected column are displayed within the dialog.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.
(Do not write below this line)
DEVS' SECTION
ANALYSIS
In
dialogCommand()
(part ofwinlayout.cpp
) is only checked, whether the expression is a string expression, but possible accesses to any table are omitted. Add a check, whether tables are used in the expression and resolve them correspondingly.IMPLEMENTATION STEPS
(see also our Wiki for implementation guidelines)
DOCUMENTATION STEPS
(see also our Wiki for further information)
*.NHLP
and*.NDB
files, if needed)*.NLNG
files, if needed)PULL REQUEST