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

1.5 Backport minimal LedgerSMB::File fix and tests #3657

Merged
merged 2 commits into from Jun 3, 2018

Conversation

nick-prater
Copy link
Contributor

LedgerSMB::File did not de-reference file content, when extracting files
from the database for use in invoice templates. It was therefore
writing a perl PGObject::Type::ByteString reference to the file,
rather than the actual binary content.

This is a mimimal one-line bugfix to LedgerSMB::File, rather than the
more extensive changes applied to 1.6 and master.

Additionally the new tests have been backported - without the
dependency on LedgerSMB::Magic.

1.5 did not de-reference file content, when extracting files
from the database for use in invoice templates. It was therefore
writing a perl PGObject::Type::ByteString reference to the file,
rather than the actual binary content.

This is a mimimal one-line bugfix, rather than the more extensive
changes applied to 1.6 and master.
@ehuelsmann ehuelsmann merged commit 71df6b2 into ledgersmb:1.5 Jun 3, 2018
@nick-prater nick-prater deleted the 1.5-fix-ledgersmb-file branch June 15, 2018 08:31
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

Successfully merging this pull request may close these issues.

None yet

2 participants