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

[HOTFIX][BE] Fix total pages for PDF are not counted on FE services #151

Merged
merged 6 commits into from
Jun 2, 2024

Conversation

Signed-off-by: Dicky Herlambang (花) <herlambangdicky5@gmail.com>
Signed-off-by: Dicky Herlambang (花) <herlambangdicky5@gmail.com>
* Add new logic to avoid crash when totalpdfpages are return in unconditional response

Signed-off-by: Dicky Herlambang (花) <herlambangdicky5@gmail.com>
Signed-off-by: Dicky Herlambang (花) <herlambangdicky5@gmail.com>
Since FE are relying to ready this upload / public storage path on BE instances, after
switch to API only route. It seems upload / public storage folder are not accessible from FE
services, due that path are not registered in any route on BE services. Instead directly access to
BE storage folder, create new route and function to count and return exact total PDF pages to FE
services.

Signed-off-by: Dicky Herlambang (花) <herlambangdicky5@gmail.com>
Signed-off-by: Dicky Herlambang (花) <herlambangdicky5@gmail.com>
@Nicklas373 Nicklas373 added bug Something isn't working enhancement New feature or request dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Jun 2, 2024
@Nicklas373 Nicklas373 self-assigned this Jun 2, 2024
@Nicklas373 Nicklas373 merged commit 769df04 into be/master Jun 2, 2024
2 checks passed
@Nicklas373 Nicklas373 deleted the dev/be/master branch June 2, 2024 16:47
@Nicklas373 Nicklas373 restored the dev/be/master branch June 2, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file enhancement New feature or request php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant