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]: Can't save the item when adding a new category #5205

Closed
pavlenex opened this issue Jul 28, 2023 · 1 comment
Closed

[Bug]: Can't save the item when adding a new category #5205

pavlenex opened this issue Jul 28, 2023 · 1 comment
Assignees
Labels
Milestone

Comments

@pavlenex
Copy link
Contributor

What is your BTCPay version?

1.11.0

How did you deploy BTCPay Server?

Docker, BTCPay master test instance, using Paralelni POS store and Paralelni Polis POS app

What happened?

When trying to add a new category, you can't save, and it spits out the error.

cat-problem.mp4

How did you encounter this bug?

  1. Go to btcpay master test instance
  2. Go to Paralelni Store
  3. Go to Paralelni POS
  4. Edit any iteam
  5. Add a category such ascoffee
  6. Click save
  7. It can't save and spits the console error log.

Relevant log output

vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11 TypeError: Cannot read properties of undefined (reading 'indexOf')
    at Cr.validate (pos:950:50)
    at Cr.saveItem (pos:929:27)
    at click (eval at sc (vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11:104811), <anonymous>:3:8606)
    at dn (vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11:21974)
    at HTMLButtonElement.r (vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11:10396)
    at i._wrapper (vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11:59525)
vn @ vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11
pn @ vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11
fn @ vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11
dn @ vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11
r @ vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11
i._wrapper @ vue.min.js?v=RQP_FOA6ovPWyB3RlJeIqCW_T_fi6VDpso1V6bVQY_I:11


### What browser do you use?

Google Chrome Version 115.0.5790.110 (Official Build) (64-bit)

### Additional information

_No response_

### Are you sure this is a bug report?

- [X] I confirm this is a bug report
@pavlenex pavlenex added the Bug label Jul 28, 2023
@pavlenex pavlenex added this to the 1.11.x milestone Jul 28, 2023
@dstrukt
Copy link
Member

dstrukt commented Jul 28, 2023

Very strange bug, definitely created many categories during testing and never had an issue...

Kukks added a commit to Kukks/btcpayserver that referenced this issue Jul 28, 2023
@dstrukt dstrukt mentioned this issue Jul 28, 2023
@Kukks Kukks closed this as completed in 9132592 Jul 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

5 participants
@dennisreimann @Kukks @dstrukt @pavlenex and others