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

new() -> Resource doesn't have the requested attribute #14

Closed
xuorig opened this issue Mar 11, 2014 · 2 comments
Closed

new() -> Resource doesn't have the requested attribute #14

xuorig opened this issue Mar 11, 2014 · 2 comments
Assignees

Comments

@xuorig
Copy link

@xuorig xuorig commented Mar 11, 2014

with version 6.2:

test = redmine.issue.new()
test
*** ResourceAttrError: Resource doesn't have the requested attribute

is that a normal behaviour?

@xuorig
Copy link
Author

@xuorig xuorig commented Mar 11, 2014

Hmm I see the repr of a ressource shows the id and a new ressource that is not saved does not have one...

@xuorig xuorig closed this Mar 11, 2014
maxtepkeev added a commit that referenced this issue Mar 12, 2014
@maxtepkeev
Copy link
Owner

@maxtepkeev maxtepkeev commented Mar 12, 2014

You are right, it doesn't look very good. This behaviour is fixed starting from 0.7.0.

Thanks for reporting this.

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

Successfully merging a pull request may close this issue.

None yet
2 participants