microsoft / microsoft/AL

QueryCategory property allows over 30 chars but this will fail in the cloud with an error...

Open
#6,418 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
PowerShell
Stars
881
Forks
285
Avg merge
3d 36m
Merged PRs (30d)
1

Description

Describe the bug
The QueryCategory property using in Pages is permitting over 30 characters. However, when you attempt to run the page (in the cloud at least) it fails spectacularly!

To Reproduce
Add a QueryCategory over 30 chars to an existing page. Compile and run it (well, attempt to).

AL Code to reproduce the issue

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots

image

5. Versions:
BC V17 (plus latest VS Code version as of today)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with an AL Page containing a QueryCategory longer than 30 characters, then compile and attempt to run it in the cloud as described. Compare the local and cloud behavior and determine where the 30-character constraint should be reported or enforced; done means the invalid value is handled consistently before cloud execution.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
cloud, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.