If you perform a valid search, then perform a search for a product that does not have a valid successor, then the initial, valid successor product is shown.
To reproduce:
search '8LSA35.E0030C1-0' - > Returns 8LSA35.E0030C1-3 (expected)
enter 'y' to start a new search
enter '3IF7E3.9' -> Returns 8LSA35.E0030C1-3 (bug)
materialOutput variable was not resetting at the top of each iteration and therefore was carrying over into the next search. Issue should be fixed in next release.
If you perform a valid search, then perform a search for a product that does not have a valid successor, then the initial, valid successor product is shown.
To reproduce: search '8LSA35.E0030C1-0' - > Returns 8LSA35.E0030C1-3 (expected) enter 'y' to start a new search enter '3IF7E3.9' -> Returns 8LSA35.E0030C1-3 (bug)