-
Notifications
You must be signed in to change notification settings - Fork 13
"Facility has moved" banner does not appear after facilities are linked via Link ID page on dashboard #2385
Comments
@vrwOAR I looked up the code that decides when to shows this banner and it depends on the closure status of the facility. The banner is currently only shown when the facility is both closed and linked to a new facility I confirmed this by looking at the two facilities mentioned in your description The "Is Closed" field on this facility is "Unknown" The "Is Closed" field on this facility is "Yes" To decide how to proceed with this issue we need to answer the following?
|
@jwalgran, @obrienad, this is another one that would be great if you all could take a look. To summarize the issue:
More recently we have tried to move a facility to a new OS ID and the "moved banner" is not being displayed even though the "new OS ID" field is populated:
|
@mariel-oar Looks like we were tying our responses at the same time. See my comment above. I added the client action needed label indicating that we need some answers to decided what needs to be done (maybe nothing). |
Thank you @jwalgran! We will discuss and circle back. |
@jwalgran, we marked the facility as closed on the backend, but are still not seeing the banner show up. We also went through the linking process again just in case the sequence has to be that it is moved after it is marked as closed. one that should have banner: https://opensupplyhub.org/facilities/MX20190834BJ041 |
Thanks for the additional detail. I revisited the code and the banner that shows closure/link status depends on the closure report workflow being completed. I expect that completing series of steps should result in the desired banner being correctly displayed on VF Owned Manufacturing - Acanceh
|
Overview
The Link to New OS ID feature appears to not be working as it previously did with OAR.
Expected Behavior
When attempting to Link two OS IDs, both were entered into the page and submitted. The status updates on the Link ID page, however, the banner indicating that the facility has moved is not appearing on either facility. Here is an example of a moved facility from OAR with the banner update at the top of the page.
Actual Behavior
The facilities display as linked on the Link ID page, however, the banner does not appear reflecting their affiliation with one another.
Steps to Reproduce
Demo
Here's the legacy OAR example with the "Facility has moved" banner
American Textile Company - Tifton
Additional context
This bug stems from a contributor looking to move a listing of facilities. These can be utilized to test the functionality:
The text was updated successfully, but these errors were encountered: