Skip to content

Export file list - file missing #36951

@ClemenF

Description

@ClemenF

Preconditions and environment

  • Magento version : 2.4.5-p1
  • Multiple export files created

Steps to reproduce

  1. Go to System > Data Transfer > Export
  2. Display a list of available file

Expected result

I have around 2400 files exported in folder var/export/xml/Archives/order_export/.
Need to see all those file

Actual result

I have only 19 files listed.

Additional information

I investigate in code and found out in the file :
src/vendor/magento/module-import-export/Ui/DataProvider/ExportFileDataProvider.php:174
that it creates a variable $sortedFiles and uses the file's mtime stat as a key (last modification time) and as a sort.

In my case, multiple files are created and it seems that it's modified at the same time sometimes. This results in not displaying all my available exported files.

To have files with a "last modify" time set to the same, you can rsync or scp from a distant server and some of them will have the same information.

Release note

No response

Triage and priority

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area: Admin UIComponent: ImportExportIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReported on 2.4.5-p1Indicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions