@abaplint/core 2.120.62 → 2.120.63
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/src/registry.js
CHANGED
|
@@ -48,6 +48,8 @@ class XMLConsistencyConf extends _basic_rule_config_1.BasicRuleConfig {
|
|
|
48
48
|
this.textAndTranslationLengthSeverity = severity_1.Severity.Error;
|
|
49
49
|
/** Problem severity for data element(DTEL) field checks */
|
|
50
50
|
this.dataElementSeverity = severity_1.Severity.Error;
|
|
51
|
+
/** Problem severity for transparent table checks */
|
|
52
|
+
this.transparentTableSeverity = severity_1.Severity.Error;
|
|
51
53
|
}
|
|
52
54
|
}
|
|
53
55
|
exports.XMLConsistencyConf = XMLConsistencyConf;
|
|
@@ -335,11 +337,11 @@ class XMLConsistency {
|
|
|
335
337
|
if (obj.getTableCategory() === Objects.TableCategory.Transparent) {
|
|
336
338
|
if (!((_c = obj.getDeliveryClass()) === null || _c === void 0 ? void 0 : _c.trim())) {
|
|
337
339
|
const message = `Transparent table must have delivery class(CONTFLAG in DD02V) set`;
|
|
338
|
-
issues.push(issue_1.Issue.atRow(file, 1, message, this.getMetadata().key, this.conf.
|
|
340
|
+
issues.push(issue_1.Issue.atRow(file, 1, message, this.getMetadata().key, this.conf.transparentTableSeverity));
|
|
339
341
|
}
|
|
340
342
|
if (!((_d = obj.getSizeCategory()) === null || _d === void 0 ? void 0 : _d.trim())) {
|
|
341
343
|
const message = `Transparent table must have size category(TABKAT in DD09L) set`;
|
|
342
|
-
issues.push(issue_1.Issue.atRow(file, 1, message, this.getMetadata().key, this.conf.
|
|
344
|
+
issues.push(issue_1.Issue.atRow(file, 1, message, this.getMetadata().key, this.conf.transparentTableSeverity));
|
|
343
345
|
}
|
|
344
346
|
}
|
|
345
347
|
return issues;
|