For the complete documentation index, see llms.txt. This page is also available as Markdown.

AUR0807

Error Message

AUR0807: Composition has already been activated/deactivated. Id: <controller>

Description

ICompositionController.activate() was called after that composition controller had already started or stopped. A composition controller represents one composed view and its activation is single-use.

<au-compose> serializes structural updates such as component and template changes, and it owns activation of the composition controller. Model-only updates call update(model) directly. Check code that obtains the controller through the composition bindable and calls activate() directly. That call tries to activate a controller that <au-compose> has already activated.

Solution

Let <au-compose> activate the controller. Change component, template, or model to update the composition. Use composition.update(model) for an explicit model update.

If standard <au-compose> usage produces this error, capture the stack trace and provide a minimal reproduction.

Last updated

Was this helpful?