The invoice print builder should switch the active language to the invoice language

Created on 15 October 2020, over 4 years ago
Updated 30 April 2025, about 2 months ago

#3106014: Allow altering the invoice PDF filename via event subscribers introduced a new parameter to InvoicePrintBuilder, but did so in a non-BC manner. This broke our project (ironically the one commerce_invoice was made for :P) when we did a composer update. The recommended way to introduce new dependencies is to default them to NULL and get them from the global scope if an extending object's constructor did not provide it (preferably while calling trigger_error()).

🐛 Bug report
Status

Needs work

Version

2.0

Component

Code

Created by

🇧🇪Belgium kristiaanvandeneynde Antwerp, Belgium

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024