#12152 [MCP] Clear environment description after environment copy
Environment descriptions are now cleared when an environment is copied, preventing the destination from retaining information about the source environment.
- 4files
- 1AL files
- 1objects
Pull request · merged into main (BC30) on 2026-10-05 by nikolakukrika · 4 files (+32 -2), 1 AL · feature · tier official · reviewed (checked by Opus)
What changed
- Subscribes to the database-level environment cleanup event triggered during environment copy
- Clears the environment description BLOB for every environment-copy scenario
- Adds a regression test to verify description is cleared after environment copy
- Operates at database scope, consistent with the environment description’s
DataPerCompany = falsesetting - Existing descriptions remain unchanged unless the platform triggers an environment-copy cleanup event
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 3702 “Environment Information Impl.”, System Application: modified
Context
- Work items: AB#650130, AB#650134
- Labels: AL: System Application, Team: Integrations
- Systems: administration
- From the description: “Clear the database-wide environment description when an environment is copied so the destination does not retain context describing the source environment.”
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).