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

[Bug Report] "TypeError: a.split is not a function" when editing performer or studio alias string #4338

Closed
GoldstarZV opened this issue Dec 2, 2023 · 1 comment · Fixed by #4344
Labels
bug Something isn't working

Comments

@GoldstarZV
Copy link

Describe the bug
When an performer or studio alias string becomes empty, error is triggered:

Something went wrong.
Details
TypeError: a.split is not a function
    at Ht (http://localhost:9999/assets/Performers-d4be24fe.js:1:18699)
    at div
    at div
    at div
    at div
    at div
    at Mt (http://localhost:9999/assets/Performers-d4be24fe.js:1:30685)
    at Ci (http://localhost:9999/assets/Performers-d4be24fe.js:1:37230)
    at t (http://localhost:9999/assets/index-6125ee63.js:40:9217)
    at t (http://localhost:9999/assets/index-6125ee63.js:40:11169)
    at Tn (http://localhost:9999/assets/Performers-d4be24fe.js:1:38664)
    at t (http://localhost:9999/assets/index-6125ee63.js:40:9217)
    at t (http://localhost:9999/assets/index-6125ee63.js:40:11169)
    at Suspense
    at kP (http://localhost:9999/assets/index-6125ee63.js:44:350498)
    at div
    at Sa2 (http://localhost:9999/assets/index-6125ee63.js:54:51420)
    at ta2 (http://localhost:9999/assets/index-6125ee63.js:49:1224749)
    at XUe (http://localhost:9999/assets/index-6125ee63.js:44:116373)
    at Suspense
    at QUe (http://localhost:9999/assets/index-6125ee63.js:44:115103)
    at d32 (http://localhost:9999/assets/index-6125ee63.js:49:1068329)
    at t (http://localhost:9999/assets/index-6125ee63.js:40:75570)
    at kP (http://localhost:9999/assets/index-6125ee63.js:44:350498)
    at Kd2 (http://localhost:9999/assets/index-6125ee63.js:64:38737)
    at lU (http://localhost:9999/assets/index-6125ee63.js:19:184960)
    at t (http://localhost:9999/assets/index-6125ee63.js:40:5733)
    at t (http://localhost:9999/assets/index-6125ee63.js:40:12243)

To Reproduce
Steps to reproduce the behavior:

  1. Go to a performer or alias page
  2. Click Edit
  3. Ensure there are at least 2 aliases.
  4. Click on the string field on one of the alises. Select the entire string, and press backspace/delete so it becomes empty string
  5. Observe the error

Stash Version: (from Settings -> About):
v0.23.1-69-gd4ef1828
Build hash:
d4ef182

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser: Chrome 119.0.6045.200
@GoldstarZV GoldstarZV added the bug report Bug reports that are not yet verified label Dec 2, 2023
@DogmaDragon
Copy link
Collaborator

Reproduced on 1659c8f.

@DogmaDragon DogmaDragon added bug Something isn't working and removed bug report Bug reports that are not yet verified labels Dec 2, 2023
@WithoutPants WithoutPants added this to the Version 0.24.0 milestone Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants