[28.x] [PEPPOL] Handle unknown persisted PEPPOL format values - #10241
Open
Milica Đukić (djukicmilica) wants to merge 1 commit into
Open
[28.x] [PEPPOL] Handle unknown persisted PEPPOL format values#10241Milica Đukić (djukicmilica) wants to merge 1 commit into
Milica Đukić (djukicmilica) wants to merge 1 commit into
Conversation
## Why A PEPPOL format enum ordinal can remain in the persisted PEPPOL 3.0 Setup after the enum extension that declared it is uninstalled. Converting that unknown ordinal to a PEPPOL interface currently produces a technical runtime error because the base enum has no unknown-value implementation. ## Summary - **Added** unknown-value mappings for every interface implemented by the PEPPOL 3.0 Format enum. - **Added** a controlled handler that tells users to select an available format when validation or document iteration encounters an unavailable format. - **Added** regression coverage for validation and iterator conversion of a persisted unknown ordinal. https://github.com/microsoft/BCQuality/blob/712dee9ec1f0b098f859753e083e8c6efa903d01/microsoft/knowledge/interfaces/handle-unknown-enum-ordinals-with-unknownvalueimplementation.md Fixes [AB#646302](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/646302) --------- Co-authored-by: djukicmilica <milicadjukic@microsoft.com>
Milica Đukić (djukicmilica)
enabled auto-merge (squash)
August 14, 2026 08:57
Aleksandr Gladkov (AleksanderGladkov)
approved these changes
Aug 14, 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.
Why
A PEPPOL format enum ordinal can remain in the persisted PEPPOL 3.0 Setup after the enum extension that declared it is uninstalled. Converting that unknown ordinal currently produces a technical runtime error because the base enum has no unknown-value implementation.
Summary
Backport of #10066.
Fixes AB#646754