Примечание
Для доступа к этой странице требуется авторизация. Вы можете попробовать войти или изменить каталоги.
Для доступа к этой странице требуется авторизация. Вы можете попробовать изменить каталоги.
Application object is moved without the use of PendingMove.
Description
When an application object is moved we should first set the ObsoleteState to PendingMove in a previous version of the extension.
Remarks
An application object has been moved without first setting the ObsoleteState
to PendingMove
in a previous version of the extension. This is important because setting the ObsoleteState
to PendingMove
provides a transition period for dependent extensions to adapt to the change. It allows developers to mark an object as obsolete and indicate that it will be moved in a future version, giving dependent extensions time to update their references and avoid breaking changes.
How to fix this diagnostic?
Follow a two-step process when moving an application object. First, set the ObsoleteState
to PendingMove
in a previous version of the extension. Then, in a subsequent version, move the object to its new location. Here are the steps to fix this diagnostic:
- Identify the application object that has been moved and is causing the AS0117 warning.
- In the current version of the extension, set the
ObsoleteState
of the object toPendingMove
and provide anObsoleteReason
andObsoleteTag
. - In the next version of the extension, move the object to its new location and update the references accordingly.
Related information
AppSourceCop Analyzer
Getting Started with AL
Developing Extensions