Skip to content

[28.x] [PEPPOL] Handle unknown persisted PEPPOL format values - #10241

Merged
Milica Đukić (djukicmilica) merged 1 commit into
releases/28.xfrom
backport/releases/28.x/10066
Aug 14, 2026
Merged

[28.x] [PEPPOL] Handle unknown persisted PEPPOL format values#10241
Milica Đukić (djukicmilica) merged 1 commit into
releases/28.xfrom
backport/releases/28.x/10066

Conversation

@djukicmilica

@djukicmilica Milica Đukić (djukicmilica) commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

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

  • Added unknown-value mappings for every interface implemented by the PEPPOL 3.0 Format enum.
  • Added a controlled handler that asks 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.

Backport of #10066.

Fixes AB#646754

## 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>
@djukicmilica
Milica Đukić (djukicmilica) merged commit 7e53793 into releases/28.x Aug 14, 2026
153 of 173 checks passed
@djukicmilica
Milica Đukić (djukicmilica) deleted the backport/releases/28.x/10066 branch August 14, 2026 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1 Integration GitHub request for Integration area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants