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

Regression: Crash when creating a ticket through API using a tag #9

Open
svetlana opened this issue May 13, 2011 · 2 comments
Open

Comments

@svetlana
Copy link

Hello,

I just ran into this trying to create tickets using tags - this used to work in the previous version of the gem.

API call:

Lighthouse::Ticket.create(:project_id => ,
:title => "Fake",
:state => "pending",
:tag => "fake,",
:assigned_user_id => )

Stack Trace:

NoMethodError: undefined method returning' for #<Lighthouse::Ticket:0x105c7a9d8> from /opt/local/lib/ruby/gems/1.8/gems/activeresource-3.0.7/lib/active_resource/base.rb:1401:inmethod_missing'
from /opt/local/lib/ruby/gems/1.8/gems/lighthouse-api-2.0/lib/lighthouse/ticket.rb:84:in cleanup_tags' from /opt/local/lib/ruby/gems/1.8/gems/lighthouse-api-2.0/lib/lighthouse/ticket.rb:80:inparse_with_spaces'
from /opt/local/lib/ruby/gems/1.8/gems/lighthouse-api-2.0/lib/lighthouse/ticket.rb:38:in tags' from /opt/local/lib/ruby/gems/1.8/gems/lighthouse-api-2.0/lib/lighthouse/ticket.rb:60:insave'
from /opt/local/lib/ruby/gems/1.8/gems/activeresource-3.0.7/lib/active_resource/base.rb:710:in create' from /opt/local/lib/ruby/gems/1.8/gems/activeresource-3.0.7/lib/active_resource/base.rb:710:intap'
from /opt/local/lib/ruby/gems/1.8/gems/activeresource-3.0.7/lib/active_resource/base.rb:710:in `create'
from (irb):175
from :0

This is blocking me from creating tickets, which I have to do asap. Please help? :)

@svetlana
Copy link
Author

Ok, I see what this issue is about - I'm not tracking Lighthouse-api github HEAD. I just currently have lighthouse-api-2.0 (which I re-installed today hoping that the gem was updated). I guess I have a workaround right now, but it is an awesome one. Could you please either rebuild the gem or bump it (bumping it is better).

This is the commit that I'm seeing was made in october of 2010, and since the gem was not bumped / rebuilt: 0ae4310

It's been a while - would you be able to fix it some time soon please? It is not that hard, is it? Please please?

@svetlana
Copy link
Author

I fixed the issue on my end by modifying the gem locally, but I think it'd be cool if bumped the gem :)

@svetlana svetlana reopened this May 14, 2011
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

1 participant