gray-mueller / gray-mueller/food-delivering-app-using-react-native

Cloned Restaurant in Admin Panel Does Not Copy Minimum Order and Delivery Time Correctly

Open
#416 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Describe the bug
While cloning a restaurant in the Enatega admin panel, the "Minimum Order" and "Delivery Time" values are not being cloned correctly. There is a mismatch between the original restaurant and the cloned version.

To Reproduce
Steps to reproduce the behavior:

Go to the Enatega admin panel.
Select a restaurant with specific "Minimum Order" and "Delivery Time" values.
Click on "Clone Restaurant."
Open the cloned restaurant's details.
See that the "Minimum Order" and "Delivery Time" values differ from the original restaurant.
Expected behavior
The cloned restaurant should have the exact same "Minimum Order" and "Delivery Time" values as the original restaurant.

Additional context
This inconsistency could lead to operational issues, such as incorrect pricing or unrealistic delivery estimates shown to customers.

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue from the admin panel by recording the source restaurant's Minimum Order and Delivery Time, then using Clone Restaurant and comparing the cloned details. Trace the clone flow from the admin panel entry point to identify where these two values diverge, and confirm the fix by verifying both values match exactly after cloning.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.