Skip to content

ThisObject assign (ThisObjectAssign)

Type Scope Severity Activated
by default
Minutes
to fix
Tags
Error BSL Blocker Yes 1 error

Description

In managed form modules and common modules, there should not be a variable named "ThisObject".

Often this error appears when updating the platform version: the "ThisObject" property of managed forms and common modules appeared in version 8.3.3 which could previously be used as a variable name.

Examples

Incorrect:

ThisObject = FormAttributeToValue("Object");

Sources

Snippets

Diagnostic ignorance in code

// BSLLS:ThisObjectAssign-off
// BSLLS:ThisObjectAssign-on

Parameter for config

"ThisObjectAssign": false