OpenNutriTracker icon indicating copy to clipboard operation
OpenNutriTracker copied to clipboard

Bug: Allowing data entry on future dates

Open gabrielhrlima opened this issue 7 months ago • 4 comments

Description:

The application is currently allowing users to add data to future dates, which should not be possible according to the defined validation rules.

Steps to Reproduce:

  1. Open the calendar in the application.

  2. Select a future date.

  3. Attempt to add data to that date.

Actual Behavior:

The system allows data to be added to future dates.

Expected Behavior:

The system should block data entry on future dates and ideally display a warning message to the user.

Impact:

May cause data inconsistency and improper use of the system.

gabrielhrlima avatar May 16 '25 20:05 gabrielhrlima

have you experienced any errors relating to this?

JEdits20 avatar May 17 '25 13:05 JEdits20

There are no functional errors when using the add feature, it performs as expected. The issue lies more in the system’s logic: allowing data entry for future dates could lead to inconsistencies, as it's uncommon for users to log activities that haven't occurred yet.

gabrielhrlima avatar May 17 '25 14:05 gabrielhrlima

This is definitely no bug, I use this feature every day when I evenings cook for next day.

Please don't touch this feature, blocking records for future days would make application unusable for me. I don't want to use paper for writing values and type it from paper next day, especially during traveling.

Display just warning, but keep the freedom for users.

Kopromaster avatar May 18 '25 13:05 Kopromaster

Ok

gabrielhrlima avatar May 18 '25 13:05 gabrielhrlima