Skip to content

Desktop: Fixes #12295: Fix some importing by replacing error generation with default values #12338

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

Open
wants to merge 10 commits into
base: dev
Choose a base branch
from

Conversation

pedr
Copy link
Collaborator

@pedr pedr commented May 23, 2025

Fixes #12295

Summary

In this PR I'm fixing two errors:

  • One was generate when the property ink_bias was set to a invalid value
  • Other was generate when a page_series_node didn't have a entity_guid

Thankfully these two cases were able to be fixed by using a default value for both cases.

Testing

I added an automated test with the faulty notes, the automated test is just making sure that both notes exist and were turned into HTML.

I would like to have added a smaller test file, but every time I tried modifying the the OneNote notebook the files were deleted in the web interface, but were always presented in the generated backup. What I end up doing was include the role section and just testing the relevant files.

@pedr pedr requested a review from laurent22 May 23, 2025 21:21
@pedr pedr added bug It's a bug desktop All desktop platforms import Related to importing files such as ENEX, JEX, etc. labels May 23, 2025
@laurent22
Copy link
Owner

Thanks for implementing but could you please split it into two PR - one to fix the bug, one for the logging improvements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug desktop All desktop platforms import Related to importing files such as ENEX, JEX, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Desktop: OneNote import skips section
2 participants