code change · fixAL Developmentofficial - Microsoftreviewed - checked by Opus

#14619 [Fabric] Fix installation with an existing upgrade tag

Fabric installation now guards the database upgrade tag insert to prevent duplicate-key errors when the tag already exists from company initialization, while keeping log-table initialization unconditional.

Pull request · merged into main (BC30) on 2026-11-27 by onbuyuka · 1 file (+2 -1), 1 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Prevents duplicate-key error during Fabric installation when upgrade tag already registered
  • Guards tag insert with HasDatabaseUpgradeTag check
  • Preserves unconditional log-table initialization on every install
  • No impact on existing database-upgrade paths
  • No API, schema, or permission changes
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#660891
  • Labels: AL: Apps (W1), Ownership: Needs Review, Team: Other
  • Systems: development
  • From the description: “Guard the insert with HasDatabaseUpgradeTag while keeping required log-table initialization unconditional.”

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).