-
Notifications
You must be signed in to change notification settings - Fork 433
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
Wiki PDf Exporter task - Corrupt PDF file #932
Comments
So can I check my understanding
This would suggest an issue with the rendering of the Azure DevOps WIKI page in the browser I think I would use a different tactic to link to the PDF
|
Thanks for the reply, after generating the PDF, I did a clone of the wiki repo to my laptop, which also brings down the pdf, these are also showing blank, ( not downloading via browse). I can however generate the file locally my running .exe which exports a viewable pdf, hope this make sense |
Ok, sorry if I am being slow here, but I just want to be clear in my head. Is this correct
|
Hi, I have not tried case 2 ( will do later), but what I did was to run the release pipeline in a private agent, what I observed was the following:
I |
Ok, I think your private agent test answers my question. So the step I guess are
I will do a dig to see if I can find any reports of problems with PDFs in gut and or WIKis |
Hi, I took the generated pdf and manually committed ( using VS code) to the wiki and then in a wiki page added a link to that pdf, pdf now gets downloaded and I can view it 👍 |
That suggests the problem lies within the library i am using for git operations. I will gocus my investigation there |
I have managed to reproduce this problem. I think the problem could be do do with the way my WIKIUpdater copies the PDF file onto the clone repo prior to the commit. I am investigating |
I have found the issue, it was with the I have added an extra task parameter to pick the file copy behaviour. The default is to work as it has in the past so I don't break backwards compatibility. This is called
Note: This parameter is only used when So you usage will need to be something like
This has been released as 1.21.6 |
Hi can you help,
In a nutshell my requirement is to generate product release notes for our customers in markdown and PDF format, for each feature we release we have a release note text field in the workitem that the product owner fills in with ( with text pictures, etc), when it comes to release I have a release pipeline that call a powershell script then generates release notes in markdown format using devops query, this is then uploaded to the wiki using 'Wiki File Uploader', this all works as expected. What I am trying to do now is give the product owner the ability to dowwnload a PDF version of the markdown, given this I am using 'Wiki PDf Exporter task' to export the markdown file, but now I have a additional problem how to download the file from wiki page, this would be useful but the currently there is not a feature to do this, so what I did was use to modify the markdown file after the pdf was generated and embedded a link into the generated pdf, now when I click the link the pdf gets downloaded, however when I open the PDF the data is not viewable (blank), its seems to be a problem with encoding i think,
I have include a sample of the header for each file
Corrupt file
Same file that is viewable

Any suggestion how to achive this
The text was updated successfully, but these errors were encountered: