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

Version 0.0.4.8 Write-RsCatalogItem.ps1 does not support .gif files #214

Open
Branden-DeVries opened this issue Jan 22, 2019 · 3 comments
Open

Comments

@Branden-DeVries
Copy link

Do you want to request a feature or report a bug?
This is a bug

What is the current behavior?
When trying to upload .gif files, it says that only jpg and png files are allowed.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
Use Write-rsCatalogItem to try to upload a .gif file

What is the expected behavior?
It should accept the file and load it to the catalog.

Which versions of Powershell and which OS are affected by this issue? Did this work in previous versions of our scripts?
Powershell 5.1 with SSRS 2017

I tried to push my fix to the repo, but don't have access to do it. I don't know if I should create another branch. Please review the attached script that now allows .gif and sets the MimeType to image/gif.
Write-RsCatalogItem.ps1.txt

@jtarquino
Copy link
Member

In order to send your fix you should fork the repo and then send a pull request , there is guidelines here https://help.github.com/articles/github-flow/

@Carsten3000
Copy link

The description states:
Uploads an item from disk to a report server.
Currently, we are only supporting Report, DataSource, DataSet and jpg/png for uploads

I created a feature request to support more formats: #218

To my knowledge Write-RsCatalogItem is used as part of Write-RsFolderContent, so it applies to both.

@jtarquino
Copy link
Member

There is already a PR #215 , as soon the comments are resolved I will merge it

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

No branches or pull requests

3 participants