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

Forcesave method fails when trying to save PDFs after editing #3091

Open
1 task done
Inso2008 opened this issue Jan 17, 2025 · 1 comment
Open
1 task done

Forcesave method fails when trying to save PDFs after editing #3091

Inso2008 opened this issue Jan 17, 2025 · 1 comment
Labels
confirmed-bug Issues with confirmed bugs fixed-release Issues that fixed on next release, waiting to be released

Comments

@Inso2008
Copy link

Inso2008 commented Jan 17, 2025

This issue is unique.

  • I have used the search tool and did not find an issue describing my bug.

Operating System of DocumentServer

Debian 11

Version information

8.2.2

Expected Behavior

Hello,

we ran into some issues when trying to edit some PDF document (lorem_ipsum.pdf) through new "PDF Editor" component.

After calling the forcesave method (from new "PDF editor" component) we expect status code 6 (document is being edited, but the current document state is saved) from Callback handler.

Actual Behavior

we will get status code 7 (error has occurred while force saving the document) instead of 6 (document is being edited, but the current document state is saved).

In FileConverter.log we can then find these:

[2025-01-17T11:40:42.970] [ERROR] [localhost] [7b083451-d4bf-11ef-8794-00155d96fc7c] [userId] nodeJS - stdout:
[2025-01-17T11:40:42.970] [ERROR] [localhost] [7b083451-d4bf-11ef-8794-00155d96fc7c] [userId] nodeJS - stderr:
[2025-01-17T11:40:42.970] [ERROR] [localhost] [7b083451-d4bf-11ef-8794-00155d96fc7c] [userId] nodeJS - ExitCode
(code=0;signal=SIGSEGV;error:-80)

Reproduction Steps

  1. open attached file for edit (lorem_ipsum.pdf)
  2. do some change (any)
  3. try to forcesave it

Additional information

The only thing these affected files have in common that we can think of is that they were created through a component dompdf.

And it's happening on desktop version too.

@Rita-Bubnova Rita-Bubnova added confirmed-bug Issues with confirmed bugs fixed-release Issues that fixed on next release, waiting to be released labels Jan 22, 2025
@TatianaKirillova
Copy link
Member

@Inso2008 I'm happy to report that the issue is fixed and will be included in the next release. Don't miss updates. Have a nice day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed-bug Issues with confirmed bugs fixed-release Issues that fixed on next release, waiting to be released
Projects
None yet
Development

No branches or pull requests

3 participants