Skip to content

Commit

Permalink
fix overflow (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
spesotskiy authored Feb 1, 2024
1 parent 02afc0e commit 74f8d2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/AJEListenerTestRun.Table.al
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ table 50100 "AJE Listener Test Run"
Caption = 'Config. Package Code';
TableRelation = "Config. Package".Code where("AJE Test Result" = const(true));
}
field(3; Description; Text[50])
field(3; Description; Text[250])
{
Caption = 'Description';
}
Expand Down Expand Up @@ -189,7 +189,7 @@ table 50100 "AJE Listener Test Run"
Validate("Config. Package Code", TestMethodLine."AJE Config. Pack Code");
Validate("Codeunit ID", TestMethodLine."Test Codeunit");
"Function Name" := TestMethodLine.Function;
Description := StrSubstNo(TestDescrLbl, "Codeunit ID", "Function Name");
Description := CopyStr(StrSubstNo(TestDescrLbl, "Codeunit ID", "Function Name"), 1, MaxStrLen(Description));
Insert(true);

exit("No.");
Expand Down

0 comments on commit 74f8d2f

Please sign in to comment.