Uploaded image for project: 'mod-data-export-worker'
  1. mod-data-export-worker
  2. MODEXPW-138

Backport to Lotus HF#1: Circulation log export shows another tenant/user's data

    XMLWordPrintable

Details

    • Firebird - Sprint 140
    • 1
    • Firebird
    • Lotus R1 2022 Hot Fix #1
    • !!!ALL!!!
    • TBD

    Description

      Overview:
      *Backport of MODEXPW-135 as a solution for the issue *

      Circulation job log is exported for tenant tenant1 for the specific input parameter (for example, userBarcode=12345). However, we have found api call being made from tenant2 instead and consequently the records being fetched from tenant2. And as per the UI, no action was performed for circulation logs from tenant2 during this day/time.

      Steps to Reproduce:

      1. Open environment
      2. Click Actions > Export to CSV
      3. Open Export Manager and access the downloaded file.

      Expected Results:
      Correct data according to the tenant.

      Actual Results:
      Data from another tenant.

      Additional Information:
      Module versions are being used:
      Data export manager (folio_data-export-5.0.0)
      Data Export Spring Module (mod-data-export-spring-1.3.4)
      Data Export Worker Module (mod-data-export-worker-1.3.4)
      <folio-spring-base.version>2.0.0</folio-spring-base.version>

      As per the observations, we could check that data is sent in the correct kafka topic tenant1data-export.job.update unlike the issue in https://issues.folio.org/browse/MODEXPW-67 where the data was being sent in a different tenant topic.
      URL:
      Interested parties:

      TestRail: Results

        Attachments

          1. circ_log_correcty_csv.PNG
            circ_log_correcty_csv.PNG
            161 kB
          2. circ_log_incorrect.PNG
            circ_log_incorrect.PNG
            140 kB
          3. diku_circlog.PNG
            diku_circlog.PNG
            88 kB
          4. image-2022-06-07-11-46-46-279.png
            image-2022-06-07-11-46-46-279.png
            241 kB
          5. lotus_export_manager_is_working_output.JPG
            lotus_export_manager_is_working_output.JPG
            244 kB
          6. lotus_export_manager_is_working.JPG
            lotus_export_manager_is_working.JPG
            170 kB
          7. lotus_fs09000000.JPG
            lotus_fs09000000.JPG
            241 kB
          8. lotus_testlotus2.JPG
            lotus_testlotus2.JPG
            123 kB
          9. orders_api_tests_item_from_diku.PNG
            orders_api_tests_item_from_diku.PNG
            15 kB
          10. Tenant_1.png
            Tenant_1.png
            204 kB
          11. Tenant_2.png
            Tenant_2.png
            198 kB

          Issue Links

            Activity

              People

                Oleksandr_Bozhko Oleksandr Bozhko
                Denis Kovtun Denis Kovtun
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases