[Bug]: Match selection modal unresponsive when coming from an external link #2132

Closed
opened 2026-04-25 00:03:50 +02:00 by adam · 2 comments
Owner

Originally created by @iconoclasthero on GitHub (Jul 30, 2024).

What happened?

when using the api or another method which provides an item id, let's say it is a1234b, this can obviously be constructed into the url used for the server to pull up items, e.g., http://<address>/item/a1234b
This can then be opened in chrome to the expected page.
Clicking on edit brings up the modal.
Clicking on match navigates to the match tab
The match tabs shows results as available.
Clicking on retrieved results has no effect.

What did you expect to happen?

I expected the match to get selected and then go into the match > update details dialog so that I could match and save.

Steps to reproduce the issue

when using the api or another method which provides an item id, let's say it is a1234b, this can obviously be constructed into the url used for the server to pull up items, e.g., http://<address>/item/a1234b
This can then be opened in chrome to the expected page.
Clicking on edit brings up the modal.
Clicking on match navigates to the match tab
The match tabs shows results as available.
Clicking on retrieved results has no effect.

Audiobookshelf version

v2.11.0

How are you running audiobookshelf?

Docker

What OS is your Audiobookshelf server hosted from?

Linux

If the issue is being seen in the UI, what browsers are you seeing the problem on?

Chrome

Logs

[2024-07-29 23:05:21.143]  [SocketAuthority]  INFO   Socket Connected S7xk30I1CcINIxJNAAAp
[2024-07-29 23:05:21.145]  [ApiCacheManager]  DEBUG  count: 1 size: 14101
[2024-07-29 23:05:21.146]  [ApiCacheManager]  DEBUG  Cache hit: {"user":"iconoclasthero","url":"/libraries"}
[2024-07-29 23:05:21.598]  [SocketAuthority]  DEBUG  User Online iconoclasthero
[2024-07-29 23:05:25.138]  [SocketAuthority]  DEBUG  User Offline iconoclasthero
[2024-07-29 23:05:25.138]  [SocketAuthority]  INFO   Socket S7xk30I1CcINIxJNAAAp disconnected from client "iconoclasthero" after 3995ms (Reason: transport close)
[2024-07-29 23:05:26.329]  [SocketAuthority]  INFO   Socket Connected JLk4E9H_45LtFoPoAAAr
[2024-07-29 23:05:26.569]  [ApiCacheManager]  DEBUG  count: 1 size: 14101
[2024-07-29 23:05:26.570]  [ApiCacheManager]  DEBUG  Cache hit: {"user":"iconoclasthero","url":"/libraries"}
[2024-07-29 23:05:26.866]  [SocketAuthority]  DEBUG  User Online iconoclasthero






[2024-07-29 23:05:39.409]  [BookFinder]       DEBUG  Book Search: title: "The Life and Times of Frederick Douglass", author: "Frederick Douglass", provider: audible
[2024-07-29 23:05:39.410]  [Audible]          DEBUG  Search url: https://api.audible.com/1.0/catalog/products?num_results=10&products_sort_by=Relevance&title=The+Life+and+Times+of+Frederick+Douglass&author=Frederick+Douglass
[2024-07-29 23:05:39.663]  [Audible]          DEBUG  ASIN url: https://api.audnex.us/books/B08TPVG8LF
[2024-07-29 23:05:39.667]  [Audible]          DEBUG  ASIN url: https://api.audnex.us/books/B006WDGT1I
[2024-07-29 23:05:39.671]  [Audible]          DEBUG  ASIN url: https://api.audnex.us/books/B08ZNY2NNT
[2024-07-29 23:05:39.675]  [Audible]          DEBUG  ASIN url: https://api.audnex.us/books/1662127669
[2024-07-29 23:05:39.677]  [Audible]          DEBUG  ASIN url: https://api.audnex.us/books/B0B5PWFB4S
[2024-07-29 23:05:39.681]  [Audible]          DEBUG  ASIN url: https://api.audnex.us/books/B08SR2WVV3
[2024-07-29 23:05:39.684]  [Audible]          DEBUG  ASIN url: https://api.audnex.us/books/B08MBG7Q8N
[2024-07-29 23:05:39.688]  [Audible]          DEBUG  ASIN url: https://api.audnex.us/books/B0C8BRFZSK

Additional Notes

Going to the home screen and back seems like it might be a workaround, but not a solution.

Originally created by @iconoclasthero on GitHub (Jul 30, 2024). ### What happened? when using the api or another method which provides an item id, let's say it is `a1234b`, this can obviously be constructed into the url used for the server to pull up items, e.g., `http://<address>/item/a1234b` This can then be opened in chrome to the expected page. Clicking on edit brings up the modal. Clicking on match navigates to the match tab The match tabs shows results as available. Clicking on retrieved results has no effect. ### What did you expect to happen? I expected the match to get selected and then go into the match > update details dialog so that I could match and save. ### Steps to reproduce the issue when using the api or another method which provides an item id, let's say it is `a1234b`, this can obviously be constructed into the url used for the server to pull up items, e.g., `http://<address>/item/a1234b` This can then be opened in chrome to the expected page. Clicking on edit brings up the modal. Clicking on match navigates to the match tab The match tabs shows results as available. Clicking on retrieved results has no effect. ### Audiobookshelf version v2.11.0 ### How are you running audiobookshelf? Docker ### What OS is your Audiobookshelf server hosted from? Linux ### If the issue is being seen in the UI, what browsers are you seeing the problem on? Chrome ### Logs ```shell [2024-07-29 23:05:21.143] [SocketAuthority] INFO Socket Connected S7xk30I1CcINIxJNAAAp [2024-07-29 23:05:21.145] [ApiCacheManager] DEBUG count: 1 size: 14101 [2024-07-29 23:05:21.146] [ApiCacheManager] DEBUG Cache hit: {"user":"iconoclasthero","url":"/libraries"} [2024-07-29 23:05:21.598] [SocketAuthority] DEBUG User Online iconoclasthero [2024-07-29 23:05:25.138] [SocketAuthority] DEBUG User Offline iconoclasthero [2024-07-29 23:05:25.138] [SocketAuthority] INFO Socket S7xk30I1CcINIxJNAAAp disconnected from client "iconoclasthero" after 3995ms (Reason: transport close) [2024-07-29 23:05:26.329] [SocketAuthority] INFO Socket Connected JLk4E9H_45LtFoPoAAAr [2024-07-29 23:05:26.569] [ApiCacheManager] DEBUG count: 1 size: 14101 [2024-07-29 23:05:26.570] [ApiCacheManager] DEBUG Cache hit: {"user":"iconoclasthero","url":"/libraries"} [2024-07-29 23:05:26.866] [SocketAuthority] DEBUG User Online iconoclasthero [2024-07-29 23:05:39.409] [BookFinder] DEBUG Book Search: title: "The Life and Times of Frederick Douglass", author: "Frederick Douglass", provider: audible [2024-07-29 23:05:39.410] [Audible] DEBUG Search url: https://api.audible.com/1.0/catalog/products?num_results=10&products_sort_by=Relevance&title=The+Life+and+Times+of+Frederick+Douglass&author=Frederick+Douglass [2024-07-29 23:05:39.663] [Audible] DEBUG ASIN url: https://api.audnex.us/books/B08TPVG8LF [2024-07-29 23:05:39.667] [Audible] DEBUG ASIN url: https://api.audnex.us/books/B006WDGT1I [2024-07-29 23:05:39.671] [Audible] DEBUG ASIN url: https://api.audnex.us/books/B08ZNY2NNT [2024-07-29 23:05:39.675] [Audible] DEBUG ASIN url: https://api.audnex.us/books/1662127669 [2024-07-29 23:05:39.677] [Audible] DEBUG ASIN url: https://api.audnex.us/books/B0B5PWFB4S [2024-07-29 23:05:39.681] [Audible] DEBUG ASIN url: https://api.audnex.us/books/B08SR2WVV3 [2024-07-29 23:05:39.684] [Audible] DEBUG ASIN url: https://api.audnex.us/books/B08MBG7Q8N [2024-07-29 23:05:39.688] [Audible] DEBUG ASIN url: https://api.audnex.us/books/B0C8BRFZSK ``` ### Additional Notes Going to the home screen and back seems like it might be a workaround, but not a solution.
adam added the bug label 2026-04-25 00:03:50 +02:00
adam closed this issue 2026-04-25 00:03:50 +02:00
Author
Owner

@mikiher commented on GitHub (Jul 30, 2024):

I was able to reproduce this.

This is because filterData is for some reason uninitialized when you load the item page directly, and so there's an exception during the rendering of the form.

Fixing this for this specific code location (Match.vue) is easy, but I think the fact the filterData is unavailable when you get to the page this way is indicative of some deeper issue. I'm looking into it.

@mikiher commented on GitHub (Jul 30, 2024): I was able to reproduce this. This is because filterData is for some reason uninitialized when you load the item page directly, and so there's an exception during the rendering of the form. Fixing this for this specific code location (Match.vue) is easy, but I think the fact the filterData is unavailable when you get to the page this way is indicative of some deeper issue. I'm looking into it.
Author
Owner

@github-actions[bot] commented on GitHub (Aug 5, 2024):

Fixed in v2.12.0.

@github-actions[bot] commented on GitHub (Aug 5, 2024): Fixed in [v2.12.0](https://github.com/advplyr/audiobookshelf/releases/tag/v2.12.0).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#2132