AL icon indicating copy to clipboard operation
AL copied to clipboard

AL Code Analyzer: PerTenantExtensionCop. Error on 50K range for field in 50K range table

Open DmitryKatson opened this issue 8 years ago • 5 comments

Hi, I have created a new table in the 50K range. Then I've added new fields with Id's 1,2...

If I activate PerTenentExtensionCop, then I have an error that my fields should have 50K range. Why? Is it a bug, or feature?

image

DmitryKatson avatar May 22 '18 09:05 DmitryKatson

Hi @dkatson, It is a feature, when you are developing a Per Tenant Extensions then all your objects and table fields need to be withing the range.

thpeder avatar May 22 '18 13:05 thpeder

WHAT???? Have that been communicated earlier? That's completely against any former best practices for development.

epernst avatar May 23 '18 20:05 epernst

This was a bug that has been fixed. The fix has already been applied to the per tenant extension upload process (so it won't block uploads) and will be part of the next developer preview release. The ID range restriction should only be applied to fields added in table extensions, not tables.

RobAnderson42 avatar May 23 '18 20:05 RobAnderson42

I almost got a heart attack there! :)

epernst avatar May 23 '18 21:05 epernst

Uff... don’t joke like that

DmitryKatson avatar May 24 '18 07:05 DmitryKatson