Skip to content

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

@svetlana

Description

@svetlana

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? :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions