Skip to content

Metadata object has a forbidden name (ForbiddenMetadataName)

Type Scope Severity Activated
by default
Minutes
to fix
Tags
Error BSL Blocker Yes 30 standard
sql
design

Description

It is forbidden to use the names of metadata objects (and their attributes and tabular sections), which are used when naming query tables (for example, Document, Catalog).

Using such names can lead to errors in the execution of the query, and also make it difficult to use the query designer and reduce the clarity of the query text.

Examples

Wrong name - Catalog.Catalog - Catalog.MyCatalog.Attribute.Document - InformationRegister.MyRegister.Dimenssion.Documents

Sources

Snippets

Diagnostic ignorance in code

// BSLLS:ForbiddenMetadataName-off
// BSLLS:ForbiddenMetadataName-on

Parameter for config

"ForbiddenMetadataName": false