Describe the bug
when trying to create a label with twig-mode enabled i am unable to inline the generated barcode_svg result because of the missing data_uri plugin. the generated error is Unknown "data_uri" filter in "lines" at line 1.. what am i doing wrong here?
To Reproduce
Steps to reproduce the behavior:
Go to 'Tools' -> 'Labeldialog'
Enable Twig mode on 'Advanced'
Enter any Target ID of existing part
enter Content: {{ barcode_svg("test", "QRCODE") | data_uri }}
Press 'Update'
See Error Unknown "data_uri" filter in "lines" at line 1.
Expected behavior
A label should be generated which outputs the data url generated by the given twig commands.
Screenshots
Server Side
Part-DB Version: 1.13.2
PHP Version: 8.1.29 (SAPI: cgi-fcgi)
Database Server: 10.5.23-MariaDB-0+deb11u1-log
Desktop (please complete the following information):
OS: Linux
Browser: Chrome
Version: 127.0.6533.72 (Offizieller Build) Arch Linux (64-Bit)
Describe the bug when trying to create a label with twig-mode enabled i am unable to inline the generated
barcode_svg
result because of the missing data_uri plugin. the generated error isUnknown "data_uri" filter in "lines" at line 1.
. what am i doing wrong here?To Reproduce Steps to reproduce the behavior:
{{ barcode_svg("test", "QRCODE") | data_uri }}
Unknown "data_uri" filter in "lines" at line 1.
Expected behavior A label should be generated which outputs the data url generated by the given twig commands.
Screenshots
Server Side
Desktop (please complete the following information):
Additional context Partdb is freshly installed today (using: https://docs.part-db.de/installation/installation_guide-debian.html) no errors during installation. Using
data_uri(mime="image/svg+xml")
does not work either.