[Bug]: Series Name dialog locks up web UI requiring reload of interface. #1057

Closed
opened 2026-04-24 23:30:31 +02:00 by adam · 11 comments
Owner

Originally created by @jessearmstrong on GitHub (Apr 10, 2023).

Describe the issue

When attempting to add a Series Name and sequence number. The typeahead search will often freeze after a few characters are typed. Once this happens the changes can not be submitted. The Submit button doesn't function, nor does pressing the Return key. The only way to resume using the server is to reload the interface.

Steps to reproduce the issue

  1. Click pencil icon on the book to be edited.
  2. Click click the plus icon in the "Series" field to change the books series relationship
  3. Type the new series name in the provided field.
  4. Once Typeahead freezes, no further action can be completed without reloading the page.

Screenshot 2023-04-10 at 4 45 01 PM

Audiobookshelf version

2.2.18

How are you running audiobookshelf?

Docker

Originally created by @jessearmstrong on GitHub (Apr 10, 2023). ### Describe the issue When attempting to add a Series Name and sequence number. The typeahead search will often freeze after a few characters are typed. Once this happens the changes can not be submitted. The Submit button doesn't function, nor does pressing the Return key. The only way to resume using the server is to reload the interface. ### Steps to reproduce the issue 1. Click pencil icon on the book to be edited. 2. Click click the plus icon in the "Series" field to change the books series relationship 3. Type the new series name in the provided field. 4. Once Typeahead freezes, no further action can be completed without reloading the page. ![Screenshot 2023-04-10 at 4 45 01 PM](https://user-images.githubusercontent.com/241981/231005466-5b1a4500-5d4d-4613-9442-e626c3d7a6f0.png) ### Audiobookshelf version 2.2.18 ### How are you running audiobookshelf? Docker
adam added the bug label 2026-04-24 23:30:31 +02:00
adam closed this issue 2026-04-24 23:30:31 +02:00
Author
Owner

@advplyr commented on GitHub (Apr 11, 2023):

I'm not able to reproduce this. I don't really understand what you mean the typehead freezes. Like you are typing then all the sudden you just can't type anymore?
Your screenshot is strange that it is showing results that don't match what you typed.
Can you double check you are on version 2.2.18? I recall fixing something with that input field a few versions ago.

@advplyr commented on GitHub (Apr 11, 2023): I'm not able to reproduce this. I don't really understand what you mean the typehead freezes. Like you are typing then all the sudden you just can't type anymore? Your screenshot is strange that it is showing results that don't match what you typed. Can you double check you are on version 2.2.18? I recall fixing something with that input field a few versions ago.
Author
Owner

@jessearmstrong commented on GitHub (Apr 11, 2023):

Here it is with a video. This series is sorted into "The Last Hunter" but the others I have on the server are sorted as "The Last Hunter Series" I was trying to get them all in the same series and set their sequence numbers. You can see in the video bottom left that I am on 2.2.18 Docker.

https://user-images.githubusercontent.com/241981/231012210-bdd4c1bb-6da5-47b5-88ac-2fe1f945e226.mp4

@jessearmstrong commented on GitHub (Apr 11, 2023): Here it is with a video. This series is sorted into "The Last Hunter" but the others I have on the server are sorted as "The Last Hunter Series" I was trying to get them all in the same series and set their sequence numbers. You can see in the video bottom left that I am on 2.2.18 Docker. https://user-images.githubusercontent.com/241981/231012210-bdd4c1bb-6da5-47b5-88ac-2fe1f945e226.mp4
Author
Owner

@advplyr commented on GitHub (Apr 11, 2023):

I'm not able to reproduce this still. Can you check the server logs?
Also the browser console logs

@advplyr commented on GitHub (Apr 11, 2023): I'm not able to reproduce this still. Can you check the server logs? Also the browser console logs
Author
Owner

@jessearmstrong commented on GitHub (Apr 11, 2023):

This error hits the console when it breaks:
TypeError: a is undefined
NuxtJS 56
db5cefa.js:2:19085
Screenshot 2023-04-10 at 7 18 19 PM

@jessearmstrong commented on GitHub (Apr 11, 2023): This error hits the console when it breaks: TypeError: a is undefined NuxtJS 56 db5cefa.js:2:19085 ![Screenshot 2023-04-10 at 7 18 19 PM](https://user-images.githubusercontent.com/241981/231023521-c623db2f-46d8-436e-8a2f-f1ab938da27f.png)
Author
Owner

@jessearmstrong commented on GitHub (Apr 11, 2023):

No idea why it is formatted like that, however.
It seems to happen the moment I hit the space bar after Typing "The"

@jessearmstrong commented on GitHub (Apr 11, 2023): No idea why it is formatted like that, however. It seems to happen the moment I hit the space bar after Typing "The"
Author
Owner

@jessearmstrong commented on GitHub (Apr 11, 2023):

I've been poking around on this a bit more and Strangely it only seems to happen when I start with the worth "The" If I use a different word to begin with it appears to work as expected and will allow me to type the word "the" after the first word.

@jessearmstrong commented on GitHub (Apr 11, 2023): I've been poking around on this a bit more and Strangely it only seems to happen when I start with the worth "The" If I use a different word to begin with it appears to work as expected and will allow me to type the word "the" after the first word.
Author
Owner

@jessearmstrong commented on GitHub (Apr 11, 2023):

So doing even more poking around, I think the issue might have been caused by some bad data (or funky characters of some sort) in one of the other series. I started cleaning up some of the other series names that were not very good and now it doesn't seem to be happening for me any more. I will report back if that changes, but I guess something was breaking the javascript in the typeahead search when matching to another series name that may have been malformed.

That is essentially a guess, but ¯_(ツ)_/¯

@jessearmstrong commented on GitHub (Apr 11, 2023): So doing even more poking around, I think the issue might have been caused by some bad data (or funky characters of some sort) in one of the other series. I started cleaning up some of the other series names that were not very good and now it doesn't seem to be happening for me any more. I will report back if that changes, but I guess something was breaking the javascript in the typeahead search when matching to another series name that may have been malformed. That is essentially a guess, but ¯\_(ツ)_/¯
Author
Owner

@advplyr commented on GitHub (Apr 11, 2023):

Ah ok. Let me know if you can find out what the series name was that was breaking this.

@advplyr commented on GitHub (Apr 11, 2023): Ah ok. Let me know if you can find out what the series name was that was breaking this.
Author
Owner

@methosinhiding commented on GitHub (Feb 16, 2024):

I can actively reproduce this same issue on my ABS instance but have not had any further success isolating a root cause by looking at my series in the SQLite DB
a workaround so far has been to type the problematic series of characters in reverse order which hasn't seemed to encounter the triggering issue

@methosinhiding commented on GitHub (Feb 16, 2024): I can actively reproduce this same issue on my ABS instance but have not had any further success isolating a root cause by looking at my series in the SQLite DB a workaround so far has been to type the problematic series of characters in reverse order which hasn't seemed to encounter the triggering issue
Author
Owner

@ScuttleSE commented on GitHub (Mar 16, 2024):

Encountering this bug too

TypeError: e.name is null
    NuxtJS 75
522a7ce.js:2:19370

I's formatted the same way as in this post

@ScuttleSE commented on GitHub (Mar 16, 2024): Encountering this bug too ``` TypeError: e.name is null NuxtJS 75 522a7ce.js:2:19370 ``` I's formatted the same way as in [this](https://github.com/advplyr/audiobookshelf/issues/1663#issuecomment-1502503399) post
Author
Owner

@nichwall commented on GitHub (Aug 23, 2024):

Writeup of the problem/solution here https://github.com/advplyr/audiobookshelf/issues/3207#issuecomment-2306119057

@nichwall commented on GitHub (Aug 23, 2024): Writeup of the problem/solution here https://github.com/advplyr/audiobookshelf/issues/3207#issuecomment-2306119057
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1057