Comments (5)
@pri-kise , I've added an LC0000 rule so we can investigate where this exception occurs.
Could you try with the Pre-Release version of the LinterCop and share a small code sniplet on this?
from businesscentral.lintercop.
I receive the info here:
var
RestClient: Codeunit "Rest Client"; //global variable
local procedure PrepareRestClient(GraphOptionalParameters: Codeunit "PTE Graph Opt. Parameters")
var
RequestHeaders: Dictionary of [Text, Text];
RequestHeaderName: Text;
begin
RequestHeaders := GraphOptionalParameters.GetRequestHeaders();
foreach RequestHeaderName in RequestHeaders.Keys() do
RestClient.SetDefaultRequestHeader(RequestHeaderName, RequestHeaders.Get(RequestHeaderName)); //In this line
end;
from businesscentral.lintercop.
Thank you for providing the code sample.
This should now be resolved in the (pre)release version of v0.30.20 of the LinterCop.
from businesscentral.lintercop.
Fixed in preview version
from businesscentral.lintercop.
Version v0.30.20 of the LinterCop is now released.
from businesscentral.lintercop.
Related Issues (20)
- LC0035 - False Positive FlowField HOT 6
- LC0027: Handle on Variant as Table, with Supported Page
- LC0004 - False Positive for Page with property SourceTableTemporary = true; HOT 1
- Artifacts `.current.dll` and `.next.dll` will become obsolete in the future HOT 1
- LC0067 - false positve for Journal Template Tables HOT 3
- LC0033 false positives HOT 2
- Rule0005VariableCasingShouldNotDifferFromDeclaration NullReferenceException
- LC0068 Rule0068CheckObjectPermission - InvalidCastException [AL preview - v14.0.1070882] HOT 1
- LC0068 - Triggering on TableExt/PageExt HOT 1
- LC0068 - False Positive - Record Identical to Page Record HOT 3
- LC0005: Xmlport instead of XmlPort HOT 4
- LC0068 does not handle fully qualified table names HOT 3
- LC0031 - ReadIsolation - Description is ambiguous
- LC0010 wiki - Invalid link HOT 1
- LC0016 for group with ShowCaption = false
- Wrong LC0003 and LC0005 - The suggested variant it the same as the existing one
- Too strict LC0012
- LC0048 even for Label errors?
- LC0068 - False Positive for tableelement of Integer
- Rule0068CheckObjectPermission: NullReferenceException
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from businesscentral.lintercop.