Skip to content

[Vendor] [QM] Quality test of type option - allowable values with spaces are not recognized in Default value #6428

@PredragMaricic

Description

@PredragMaricic

Describe the issue

Quality Test - new, any code.
Test Value Type = Option.
Allowable Values = one,two,three
(notice - no spaces between values).
Choose Default Value - it shows list and you can select "Two".

This is positive flow.

Now try
Allowable Values = one, two, three
(notice - spaces between values).
Choose Default Value - it shows list but if you select value you see error
The value " two" is not allowed for A_OPTION, it must be in the range of "one, two, three".

(notice - " two" with space)
call stack below

Positive:

Image

Image

Image

Image

Image

Broken flow:

Image

Image

Image

Image

Image

Error message:
The value " two" is not allowed for A_OPTION, it must be in the range of "one, two, three".

AL call stack:
"Qlty. Result Evaluation"(CodeUnit 20410).ValidateAllowableValuesOnText line 89 - Quality Management by Microsoft version 28.0.45293.0
"Qlty. Result Evaluation"(CodeUnit 20410).ValidateAllowableValuesOnTest line 19 - Quality Management by Microsoft version 28.0.45293.0
"Qlty. Result Evaluation"(CodeUnit 20410).ValidateAllowableValuesOnTest line 5 - Quality Management by Microsoft version 28.0.45293.0
"Qlty. Test"(Table 20401).ValidateAllowableValuesOnDefault line 4 - Quality Management by Microsoft version 28.0.45293.0
"Qlty. Test"(Table 20401)."Default Value - OnValidate"(Trigger) line 2 - Quality Management by Microsoft version 28.0.45293.0
"Qlty. Test"(Table 20401).AssistEditChooseFromList line 6 - Quality Management by Microsoft version 28.0.45293.0
"Qlty. Test"(Table 20401).AssistEditDefaultValue line 10 - Quality Management by Microsoft version 28.0.45293.0
"Qlty. Test Card"(Page 20479)."Default Value - OnAssistEdit"(Trigger) line 2 - Quality Management by Microsoft version 28.0.45293.0

Expected behavior

Steps to reproduce

Additional context

No response

I will provide a fix for a bug

  • I will provide a fix for a bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    ApprovedThe issue is approvedSCMGitHub request for SCM area

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions