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

When importing MD+FrontMatter file that contains a link to an invalid image, import fails #9486

Closed
laurent22 opened this issue Dec 10, 2023 · 0 comments
Labels
bug It's a bug desktop All desktop platforms high High priority issues import Related to importing files such as ENEX, JEX, etc.

Comments

@laurent22
Copy link
Owner

laurent22 commented Dec 10, 2023

Operating system

Windows

Joplin version

2.13.0

Desktop version info

  • Create a note that links to an image that is invalid (tested with JPEG)
  • Export as MD+FrontMatter
  • Import back

=> It fails with error Image is invalid or does not exist: /path/to/image.jpg even though the file exists

Instead the file, even invalid, should be imported as-is. I think it's going through handleResizeImage_ somehow but it shouldn't because we shouldn't resize anything in that context.

Also the error message should be updated and mention the markdown file where the error occurred.

Current behaviour

No response

Expected behaviour

No response

Logs

No response

@laurent22 laurent22 added bug It's a bug desktop All desktop platforms high High priority issues import Related to importing files such as ENEX, JEX, etc. labels Dec 10, 2023
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 high High priority issues import Related to importing files such as ENEX, JEX, etc.
Projects
None yet
Development

No branches or pull requests

1 participant