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

V3: Enqueued an entire album caused crash on home page #329

Open
burtlo opened this issue Sep 6, 2013 · 1 comment
Open

V3: Enqueued an entire album caused crash on home page #329

burtlo opened this issue Sep 6, 2013 · 1 comment

Comments

@burtlo
Copy link

burtlo commented Sep 6, 2013

Error

Started GET "/" for 127.0.0.1 at 2013-09-06 14:05:03 -0600
Processing by QueueController#index as HTML
  Rendered shared/_queue.html.erb (9.3ms)
  Rendered shared/_like.html.erb (0.7ms)
  Rendered shared/_song.html.erb (11.8ms)
  Rendered queue/index.html.erb within layouts/application (12.0ms)
Completed 500 Internal Server Error in 32ms

ActionView::Template::Error (undefined method `name' for nil:NilClass):
    3:     <img src="/images/art/<%= song.art_file %>" width="100" height="100" />
    4:   <% end %>
    5: 
    6:   <%= link_to album_download_path(song.artist.name, song.album), :class => "album-download", :title => "Download this album" do %>
    7:     <span class="icon-cloud-download"></span>
    8:   <% end %>
    9:   <div class="details">
  app/views/shared/_song.html.erb:6:in `_app_views_shared__song_html_erb___1645029180361943011_70220478665100'
  app/views/queue/index.html.erb:2:in `_app_views_queue_index_html_erb___2457403597746964342_70220478552120'

Steps to Reproduce

  1. Search for album.
  2. Click "Add to Queue"
  3. Visit root page by pressing the "Play" button in the upper-left corner.

Right before doing this I added a song to the queue from the album. Then decided to see the entire album and add all of it.

@burtlo
Copy link
Author

burtlo commented Sep 6, 2013

Let me append this one little tidbit. After a song played a bunch of garbage tones played. The currently playing track had no name, no album and no artist. When that was done the root page worked again.

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