Lire en anglais Modifier

Partager via


AppSourceCop Error AS0044

Property changes that cause destructive changes are not allowed

Description

Destructive field properties that have been published must not be modified.

Remarks

This error occurs when an attempt is made to modify field properties that have already been published and are considered destructive. Destructive changes can lead to data loss, corruption, or other issues that can break the upgrade process for existing installations and dependent extensions.

How to fix this diagnostic?

To resolve this error, you need to avoid modifying published field properties that are considered destructive. Here are the steps:

  1. Locate the field property in your code that is being removed.
  2. Restore the property to its original state.

AppSourceCop Analyzer
Get Started with AL
Developing Extensions

Remarque : l’auteur a créé cet article avec l’aide de l’IA. En savoir plus