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

doc.open crashes if doc is not a word document #56

Open
RuurddeRonde opened this issue Apr 28, 2020 · 1 comment
Open

doc.open crashes if doc is not a word document #56

RuurddeRonde opened this issue Apr 28, 2020 · 1 comment

Comments

@RuurddeRonde
Copy link

Describe the bug
Whenever .open is called on a Document object that has a directory that is not a word document the application crashes.

To Reproduce
Steps to reproduce the behavior:
create a project and add this code:
duckx::Document doc("test.docx");
doc.open();

make sure test.docx does not exist

run the code

Expected behavior
A new docx file named test should be crated, but instead the application crashes

Screenshots
image

Desktop (please complete the following information):

  • OS: windows 10

Additional context
Add any other context about the problem here.

@amiremohamadi
Copy link
Owner

Thank you @RuurddeRonde for reporting the bug.
We'll have a fix ready very soon ✌️

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

No branches or pull requests

2 participants