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

documenthandler 2.0 - print images bug #997

Closed
emmafrygne-vbg opened this issue Feb 4, 2022 · 1 comment · Fixed by #1313
Closed

documenthandler 2.0 - print images bug #997

emmafrygne-vbg opened this issue Feb 4, 2022 · 1 comment · Fixed by #1313
Assignees
Labels
bug module:client/plugin Functionality that goes into plugins in client plugin:documenthandler
Milestone

Comments

@emmafrygne-vbg
Copy link

Describe the bug
When printing from documenthandler in client, images are missing if the path is realtive: /Upload/lasanvisning_inledning.JPG
If the path is complete the image will appear in the print: https://oversiktsplan-utv.varberg.se/Upload/lasanvisning_inledning.png

To Reproduce
In documenthandler add a picture in a document with a realtive path, example /Upload/lasanvisning_inledning.JPG
Add a picture with a complete path, example https://oversiktsplan-utv.varberg.se/Upload/lasanvisning_inledning.png

In client print from documenthandler and see that only the image with complete path appears.

Expected behavior
We want images with realtive paths to appear in the print. If it's not possible it would be good if the first part of the path could be added to all the relative paths from one source. If we need to change the first part of the path only the source need to be changed, not all the induvidual paths for all pictures or files.

@Hallbergs Hallbergs added the bug label Feb 7, 2022
@Hallbergs Hallbergs added this to the 3.x milestone Feb 7, 2022
@Hallbergs Hallbergs added module:client/plugin Functionality that goes into plugins in client plugin:documenthandler labels Feb 7, 2022
@jesade-vbg jesade-vbg self-assigned this Apr 5, 2023
@jesade-vbg
Copy link
Contributor

@jesade-vbg jesade-vbg modified the milestones: 3.x, 3.12 Apr 5, 2023
jesade-vbg added a commit that referenced this issue Apr 12, 2023
Fix that closes #997. Its now possible to specify image (and other st…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug module:client/plugin Functionality that goes into plugins in client plugin:documenthandler
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants