Editar

Partilhar via


AppSourceCop Error AS0065

Interfaces that have been published must not be deleted.

Description

An interface that has been published must not be deleted, because dependent extensions may break.

Remarks

This error occurs when an attempt is made to delete an interface that has already been published. Deleting a published interface can break dependent extensions that rely on it, leading to runtime errors and loss of functionality.

How to fix this diagnostic?

To resolve this error, you need to ensure that published interface aren't deleted. Here are the steps:

  1. Locate the interface in your code that is being deleted.
  2. Restore the interface to its original state.

AppSourceCop Analyzer
Get Started with AL
Developing Extensions