Uploaded image for project: 'stripes-connect'
  1. stripes-connect
  2. STCON-100

Extra Get request sends by stripes-connect, when creating/duplicating the Profiles



    • Bug
    • Status: Closed (View Workflow)
    • P3
    • Resolution: Cannot Reproduce
    • None
    • None
    • Stripes Force


      Overview: SearchAndSort component shows the wrong (old) entity in ViewRecord pane after new or duplicated entity creation/save.

      Root cause: StripesConnect sends duplicated HTTP GET requests, first time with the right params set, second - with the wrong/old one.

      Steps to Reproduce (for @folio/data-import app):

      1. Log into FOLIO-snapshot as diku_admin
      2. Go to Settings/Data import/Action profiles
      3. Find an existing one
      4. Duplicate that profile by going to Actions/Duplicate
      5. Change the name of the profile slightly, and don't change anything else
      6. Save the new profile
      7. Review the profile results list in the 3rd pane and the profile details in the 4th pane
      8. Check the network and redux tabs in chrome devtools to see duplicating Get requests (the 1st one is correct, but then second requests sends with previous profile's id)

      Expected Results: Once the new (duplicated profile) is saved, the user should return to the profile results page, with the details of the new profile showing in the 4th pane. and Only one request with particular id should be sent

      Actual Results: On the results page, the details of the new profile briefly show in the 4th pane, but then are replaced by the details of the original profile (which was duplicated from). And then it takes several clicks to get the new profile details to show. It happened due to extra GET request from stripes-connect with previous profile id (the wrong one). Screenshots are attached.

      NOTE: The same thing is also happening in other profile types also, and should be fixed.

      TestRail: Results


          Issue Links



                Unassigned Unassigned
                Ihor_koba Ihor Koba
                0 Vote for this issue
                6 Start watching this issue



                  TestRail: Runs

                    TestRail: Cases