minvws / nl-rdo-zammad-api-export

This can be used to export tickets from Zammad to PDF. Each ticket will have its own PDF file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Export does not support Windows paths

ryanbnl opened this issue · comments

Only relative windows paths are supported.

Issue is in: https://github.com/minvws/nl-rdo-zammad-api-export/blob/main/src/Path.php

So, running in the root of the checked-out repo, this fails (silently):

php zamex.php export "D:\source\minvws\nl-rdo-zammad-api-export\bob"

This works (along with variants such as "bob2" and .\bob3 - but not ./bob3):

php zamex.php export bob2

I'd suggest either fixing it (I don't mind giving it a crack) or just explicitly saying that this tool is only supported under a UNIX-like operating system. Windows users can use WSL2.0 (and then they can just follow the Linux instructions).