[releases/28.x] [Shopify] Fix duplicate object id in code coverage merge - #9798
Open
onbuyuka wants to merge 1 commit into
Open
[releases/28.x] [Shopify] Fix duplicate object id in code coverage merge#9798onbuyuka wants to merge 1 commit into
onbuyuka wants to merge 1 commit into
Conversation
…rge (Bug 644543)
"Shpfy Transactions Test" was backported to releases/28.x as codeunit 139554,
which collides with the NAV-native "Library - Intrastat" (also codeunit 139554)
when the code coverage merger (CCMerger) flattens all W1 sources into a single
object namespace. This broke the RunALTestBusinessFoundationModules_Group1 gate
task ("Duplicated object id ... An item with the same key has already been added").
Renumber the test codeunit to 139575, a free id in the Shopify Connector Test
app's declared range that is unused across the merged W1 object space.
Fixes AB#644543
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 32221ea5-af73-4f67-8e02-ff20f0e6dbe5
mirouhl
approved these changes
Jul 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fixes the autodetected build break tracked by Bug 644543 (
RunALTestBusinessFoundationModules_Group1gate task failing onreleases/28.x).Root cause
Shpfy Transactions Testwas backported toreleases/28.xas codeunit 139554. The code-coverage merger (CCMerger) flattens all W1 sources — BCApps and the NAV-native tree — into a single object namespace keyed bycountry:id:type. The NAV-nativeLibrary - Intrastatcodeunit is also 139554, so the merge failed with:Fix
Renumber the test codeunit 139554 → 139575. Verified empirically:
releases/28.x.Fixes AB#644543