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 attempting to update the shortcut associated with a loyalty card with the latest card information, the updateShortcuts method does not correctly update the shortcut with the newest card details. Instead, the shortcut retains the previous loyalty card information even after attempting to update it with the latest data.
Steps to Reproduce:
1-Launch the App
2-Navigate to Import Functionality
3-Select Import Source
4-Import Cards/Codes
5-Add Shortcut
6-Update Loyalty Card Information
7-Update Shortcut
Actual Behavior:
The updateShortcuts method retrieves the loyalty card information from the database instead of using the updated card provided in the parameter. As a result, the shortcut retains the previous card details even after attempting to update it with the latest information.
Proposed Solution:
Modify the updateShortcuts method implementation to use the loyalty card provided as a parameter for updating shortcuts instead of fetching the card from the database. By directly using the updated card information, the shortcuts will accurately reflect the latest card details.
The text was updated successfully, but these errors were encountered:
When attempting to update the shortcut associated with a loyalty card with the latest card information, the updateShortcuts method does not correctly update the shortcut with the newest card details. Instead, the shortcut retains the previous loyalty card information even after attempting to update it with the latest data.
Steps to Reproduce:
1-Launch the App
2-Navigate to Import Functionality
3-Select Import Source
4-Import Cards/Codes
5-Add Shortcut
6-Update Loyalty Card Information
7-Update Shortcut
The following Test will expose the bug
Actual Behavior:
The updateShortcuts method retrieves the loyalty card information from the database instead of using the updated card provided in the parameter. As a result, the shortcut retains the previous card details even after attempting to update it with the latest information.
Proposed Solution:
Modify the updateShortcuts method implementation to use the loyalty card provided as a parameter for updating shortcuts instead of fetching the card from the database. By directly using the updated card information, the shortcuts will accurately reflect the latest card details.
The text was updated successfully, but these errors were encountered: