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

Prices are deleted when multi adding prices and then cancelling scanning a barcode #5915

Open
jusdekiwi opened this issue Nov 23, 2024 · 1 comment
Assignees
Labels

Comments

@jusdekiwi
Copy link

What

When adding a product by scanning its barcode and then cancelling, all the other prices are deleted.

Steps to reproduce the behavior

  1. Go to a product's page
  2. Click on Add a price at the bottom
  3. Add an item at the bottom by clicking on "Barcode reader"
  4. Add several items by scanning barcodes
  5. Click on "Barcode reader" another time
  6. Cancel by clicking on your phone's "go back" button
  7. All the products you had scanned have disappeared! Except for the first one, which corresponds to the page you are on.

Screenshots of the bug

Image

Expected behavior

When cancelling the addition of a product, the other products and prices should not disappear, like it does when you click on the arrow at the top of the screen to go back. The arrow at the top and your "go back" phone's button should have the same behaviour.

Smartphone model

  • OS: Android 10 Lineage Lavender
  • App Version: 4.16.9 (internal version)
@monsieurtanuki
Copy link
Contributor

Fun fact: that issue happens when you go back with the Android gesture, but not when you go back with the top left back arrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: 💬 To discuss and validate
Development

No branches or pull requests

2 participants