patzly / grocy-android

ERP beyond your fridge, now on your phone – An awesome companion app for grocy
https://patrickzedler.com/grocy/
GNU General Public License v3.0
830 stars 80 forks source link

Crash when trying to setup / Invalid Product / Crash when opening settings #806

Closed mhilcher closed 7 months ago

mhilcher commented 7 months ago

Since Version 3.4. all these bugs appear:

Every product is shown invalid when trying to add it to the stock. Doesn't matter if it is a new product or an already configured one. The name of the product is in the list and selectable, the amount can be entered and that's all. Every action then is stopped and "Invalid product" (Ungültiges Produkt in german) is shown. Doing it directly in the UI of the server works.

When trying to open the settings, the App crashes. Every time.

I reinstalled the app after deleting the cache and there's no chance for setting up the server again. When trying to scan the QR code the app crashes. When entering the data manually the app crashes.

Tried it with the official version from the Play Store and with the latest nightly build.

Had to go back to 3.3.2 then everything is working again.

Poco X3 Pro Android 13

patzly commented 7 months ago

Thanks, I'm already working on the fix!

mhilcher commented 7 months ago

Thanks, I'm already working on the fix!

Hi,

I am still running server version 3.3.2, maybe that's the problem. But the app updated in the background to 3.4 automatically and that could be a problem for all running server version 3.3.2

mhilcher commented 7 months ago

Update:

I upgraded the server to 4.0.3. Then updated the app to 3.4. The bugs are still there. Went back to App 3.3.2, everything works again.

patzly commented 7 months ago

Thanks, that's indeed caused by a recent commit and is affecting all users on app v3.4.0.

patzly commented 7 months ago

A fix is already on the way.

mhilcher commented 7 months ago

Thx very much, seems to work like a charm now Great work