You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a user id/password exception occurs, whether this be when editing nutritional information, packaging information or something else; nutritional information fails to be displayed within the app. This also breaks the nutritional information page's "calculate" fragment, as during this time clicking the calculate button fails to do anything. All of these issues are remediated by clearing the exception.
I believe, during this time the entered values are updated on the website. Why does these exceptions cause the app not to be able to gather any nutritional information from the server and act as though there is no data for these sections (Greying out the button for nutrition, displaying the "3 question" NOVA prompt and displaying no values within the nutrition information editing page)?
Steps to reproduce the behavior
Go to any product
Edit the product in a way to cause the exception to occur (Editing nutritional information, sometimes) (Editing packaging information, every time)
Go to product page
Notice the "answer 3 questions NOW" NOVA prompt
Click prompt, notice the 2nd Nutri-Score button is greyed out
Click the button, notice all information is empty
Return to the product page
Click "Nutrition facts", above "Ingredients"
Click the Calculate button, notice that nothing happens.
Go to the DEV mode menu, clear the Exception
Check the product page for the calculate, NOVA and nutrition information issues. Notice that they have gone.
Expected behavior
As we are able to gather information from the server whether we are logged in or not, this issue should not cause nutritional information to not be accessible from the app.
@NixedSec I have to have a look at it.
It may be because when we send data to the server we need to somehow change the data locally immediately, and in some cases the fields we populate for the server update and the fields we populate for the local update are different. And if something goes wrong in the local update, you have the impression that the local data is wrong, while the data is up-to-date on the server.
I wonder if, for the fast track, we shouldn't use blocking requests to prevent this weird asynchronous change.
Another option is to explain that actually it can take a few seconds.
What
Steps to reproduce the behavior
Expected behavior
As we are able to gather information from the server whether we are logged in or not, this issue should not cause nutritional information to not be accessible from the app.
Why
Part of
Smartphone model
The text was updated successfully, but these errors were encountered: