Mutator path is built incorrectly in some cases

Description

Overview: Seems stripes-connect caches previous router props and builds mutator path incorrectly

Preconditions

The order must have No fund distribution

Steps to Reproduce:

  1. Log into FOLIO environment as Diku admin

  2. Create 2 invoices and lines for them

  3. Approve first invoice

  4. Edit notes of first invoice

  5. Open second invoice details

  6. Approve second invoice

Expected Results: Invoice is approved
Actual Results: Error callout is shown because of failed request - path is generated incorrectly (invoice/invoices/:idPrevious/:id instead of invoice/invoices/:id)

No suitable module found for path /invoice/invoices/0d74f067-7af6-4777-b6e0-e79b0b501d37/bdef85d9-cdb4-4e9e-a92b-a1a3ffdcea64 for tenant diku
 

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:

Khalilah Gambrell February 1, 2022 at 2:24 PM

, and closing as Cannot Reproduce. Thanks Mikita.

Mikita Siadykh February 1, 2022 at 4:05 AM

hi

we resolved this issue by react-query, issue with stripes-connect still exists, but I don't know how to reproduce it now

Khalilah Gambrell January 31, 2022 at 4:37 PM

Hey , stripes-force needs more details as to how this issue was resolved and what we should explore to address this issue. Can you provide these details?

cc:

Dennis Bridges October 28, 2021 at 5:24 PM

 we have identified another case related to this issue in . In the interest of time we will investigate another workaround but wanted to note that this seems to be causing issues in multiple apps.

Mikita Siadykh June 21, 2021 at 12:49 PM

 we applied workaround on our side and if nobody has the same issue it can be downgraded

Cannot Reproduce

Details

Assignee

Reporter

Priority

Development Team

Stripes Force

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created May 21, 2021 at 11:52 AM
Updated February 1, 2022 at 2:24 PM
Resolved February 1, 2022 at 2:24 PM
TestRail: Cases
TestRail: Runs