jellyfin / jellyfin-vue

A modern web client for Jellyfin based on Vue
https://jellyfin.org
GNU General Public License v3.0
1.26k stars 226 forks source link

"item detail" page get incomplete data #1059

Closed s0urcelab closed 3 years ago

s0urcelab commented 3 years ago

Describe The Bug

"item detail" page get incomplete data when redirect from "person" page.

Steps To Reproduce

  1. Go to 'item' page
  2. Click on any 'person'
  3. Click any 'item' from this person
  4. 'item' page get incomplete data

Expected Behavior

should get full item data

Screenshots

image

image

image

System (please complete the following information):

s0urcelab commented 3 years ago

https://github.com/jellyfin/jellyfin-vue/blob/3aa8edc801f6ddb10497d243a8f168b60bd00614/client/pages/item/_itemId/index.vue#L273

when redirect from person page, vue store still holds item data(that is incomplete) in cache, so item page wouldn't send request for fresh data.

akkisagiraju commented 3 years ago

@s0urcelab I found out that the line 273 is not the problem. When you click on a person/genre on the item page, the item object (of movie/tv show) is getting overridden with partial data.