Skip to content

Fixing issue where no data is sent back to the previous fragment from DisplayTrueExpirationFragment

A H requested to merge issue_222_data_not_moving_backwards into main

RELATED ISSUES

Closes #222 (closed);

DEPENDENTS

!220 (merged)

BRANCH ASSOCIATED WITH THIS MERGE REQUEST:

issue_222_data_not_moving_backwards

SUMMARY OF ISSUE/BUG

Currently when you scan an item or input a UPC, and you make it all the way to DisplayTrueExpirationDate, if for whatever reason you have to move backwards through the app, the UPC data is lost - every page that should display the UPC, displays placeholder data instead.

DESCRIPTION OF UPDATE

ResultListeners will be created/updated to better handle the flow of information when moving backwards, such that if a user actually moves backwards from DisplayTrueExpirationDate, said user will see the UPC data that is associated with the item in question.

STEPS TO TEST

  1. Go to the 'Check Expiration Date' feature within the app.
  2. Scan or enter a barcode -> you will be taken to SelectItemFragment or ConfirmItemFragment
  3. Fill in the required information if in SelectItemFragment, or press confirm if in ConfirmItemFragment -> you will be taken to SelectPrintedExpirationDateFragment.
  4. Select a random date.
  5. Press 'Accept' - you will be taken to DisplayTrueExpirationFragment
  6. Hit the back button

Confirm that upon moving back to SelectPrintedExpirationDateFragment, the UPC is visible across the top of the page.

NOTES

N/A

LABELS

NEST component:check-expiration-date type::bug status::doing

Edited by A H

Merge request reports