New PTE Rule: Table Extension fields should be in app id ranges (expand PTE0002) #7547
Closed
3 tasks done
Labels
accepted
PerTenantExtensionCop
This is a specific static-code-analysis group (PTE)
ships-in-future-update
The issue is fixed in our 'master' branch and will ship in the next PREVIEW release
static-code-analysis
Please include the following with each issue:
1. Describe the bug
Create a new app. Make your range 71100-71200. Create a table extension. Add a field. Make the id anything within the 50k-99k range.
2. To Reproduce
Steps to reproduce the behavior:
3. Expected behavior
This should produce a warning as you are outside of the specific apps range. This is bad practise.
4. Actual behavior
No warning, builds fine, no feedback to dev that they have messed up.
5. Versions:
Final Checklist
Please remember to do the following:
Search the issue repository to ensure you are reporting a new issue
Reproduce the issue after disabling all extensions except the AL Language extension
Simplify your code around the issue to better isolate the problem
The text was updated successfully, but these errors were encountered: