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

show on unassigned story throws an error #2

Open
sethbro opened this issue Mar 28, 2013 · 0 comments
Open

show on unassigned story throws an error #2

sethbro opened this issue Mar 28, 2013 · 0 comments

Comments

@sethbro
Copy link

sethbro commented Mar 28, 2013

Creating a story works for me (#1 resolved?). However, when I try to show a newly created story, the story object throws a nil error during initialization.

story-webapp | master* | » pv create feature "Users have title"
Created Feature #47106741: 'Users have title'
______________________________________________


story-webapp | master* | » pv show 47106741
/Users/seth/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/pv-0.0.9.1/lib/pv/story.rb:12:in `block in initialize': undefined method `id' for nil:NilClass (NoMethodError)
    from /Users/seth/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/pv-0.0.9.1/lib/pv/story.rb:11:in `each'
    from /Users/seth/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/pv-0.0.9.1/lib/pv/story.rb:11:in `initialize'
    from /Users/seth/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/pv-0.0.9.1/lib/pv/story.rb:18:in `new'
    from /Users/seth/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/pv-0.0.9.1/lib/pv/story.rb:18:in `find'
    from /Users/seth/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/pv-0.0.9.1/lib/pv/command.rb:18:in `show'
    from /Users/seth/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/thor-0.18.0/lib/thor/command.rb:27:in `run'
    from /Users/seth/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/thor-0.18.0/lib/thor/invocation.rb:120:in `invoke_command'
    from /Users/seth/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/thor-0.18.0/lib/thor.rb:363:in `dispatch'
    from /Users/seth/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/thor-0.18.0/lib/thor/base.rb:427:in `start'
    from /Users/seth/.rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/pv-0.0.9.1/bin/pv:7:in `<top (required)>'
    from /Users/seth/.rbenv/versions/1.9.3-p392/bin/pv:23:in `load'
    from /Users/seth/.rbenv/versions/1.9.3-p392/bin/pv:23:in `<main>'
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