Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the correct namespace prefixes for serialization to Message #28

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

babolivier
Copy link
Member

@babolivier babolivier commented Nov 14, 2024

#23 updated CreateItem to use the same Message type for both serialization and deserialization. However, it did not add the attributes that xml-struct-rs uses to correctly include the prefix for the t/types namespace on relevant tags.

This change updates all of the fields under Message, so future developments aren't bitten by this error.

According to https://learn.microsoft.com/en-us/exchange/client-developer/web-service-reference/createitem-operation-email-message#createitem-request-example, both the Message and its children need the t prefix.

Copy link
Collaborator

@tobypilling tobypilling left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching and the quick fix.

@babolivier babolivier merged commit fd5a2d7 into main Nov 14, 2024
2 checks passed
@babolivier babolivier deleted the babolivier/serialize_message branch November 14, 2024 14:51
moz-v2v-gh pushed a commit to mozilla/releases-comm-central that referenced this pull request Nov 14, 2024
On top of thunderbird/ews-rs#28, which the bug is about,
this commit also vendors in thunderbird/ews-rs#29, which
brings a fix for protocol logging.

Differential Revision: https://phabricator.services.mozilla.com/D229016

--HG--
extra : amend_source : 8c7e8334f800291bbcf9012263ef1dfd740a307e
github-actions bot pushed a commit to thunderbird/comm-unified-l10n that referenced this pull request Nov 15, 2024
On top of thunderbird/ews-rs#28, which the bug is about,
this commit also vendors in thunderbird/ews-rs#29, which
brings a fix for protocol logging.

Differential Revision: https://phabricator.services.mozilla.com/D229016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants