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

Unable to upload files #23

Closed
tardis4500 opened this issue Mar 20, 2014 · 1 comment
Closed

Unable to upload files #23

tardis4500 opened this issue Mar 20, 2014 · 1 comment
Assignees
Labels

Comments

@tardis4500
Copy link

@tardis4500 tardis4500 commented Mar 20, 2014

I have created a small file and tried the following:
import redmine
redmine_srv = redmine.Redmine(REDMINE_SERVER, key=APIKEY)
issue = redmine_srv.issue.get(3961)
redmine_srv.issue.update(3961, subject=issue.subject+'0', uploads=[{'path': r'C:\Users\jsmith\Perforce\redmine_main\migrations\test.txt'}])

When I look in Redmine I can see that the subject has been properly updated but there is no file attached. I am able to attach the file by hand.

maxtepkeev added a commit that referenced this issue Mar 21, 2014
@maxtepkeev
Copy link
Owner

@maxtepkeev maxtepkeev commented Mar 21, 2014

Fixed in 6fa5bc4. Fix will be included in the next version, released to PyPI in a few days. Thanks for the bug report.

@maxtepkeev maxtepkeev closed this Mar 21, 2014
@maxtepkeev maxtepkeev added the bug label Mar 21, 2014
@maxtepkeev maxtepkeev self-assigned this Mar 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants