New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Export tables as separate files" gives empty download #14080

Closed
ibennetch opened this Issue Mar 13, 2018 · 2 comments

Comments

Projects
None yet
3 participants
@ibennetch
Member

ibennetch commented Mar 13, 2018

With current master, when I try to export and download a CSV or SQL file from the database level, and when I use the "Export tables as separate files" checkbox, the resulting file is 0 bytes. If I uncheck the box, the download works correctly. It works correctly on QA_4_7.

@nulll-pointer

This comment has been minimized.

Contributor

nulll-pointer commented Mar 15, 2018

I explored the feature a bit and found some issues related to this one -

  1. View output as text leads to errors, clicking on refresh when viewing output as text breaks the page.
    export_error

  2. Export tables as separate files doesn't work for any of the output formats.

  3. Files generated in zip format(Export tables as separate files is unchecked), give an error while extracting.
    extract_error

Edit -
zip fixing tool gives the following warnings
zip warning: Did not find entry for abc.sql
zip warning: bad - skipping: abc.sql
zip warning: zip file empty

@nulll-pointer

This comment has been minimized.

Contributor

nulll-pointer commented Mar 17, 2018

It works on the demo server. Stable branch.

nulll-pointer added a commit to nulll-pointer/phpmyadmin that referenced this issue Mar 23, 2018

Fix for "Export tables as seperate files", phpmyadmin#14080
Signed-off-by: Lakshay arora <carefreelakshay97@gmail.com>

nulll-pointer added a commit to nulll-pointer/phpmyadmin that referenced this issue Mar 23, 2018

Fix for "Export tables as seperate files", phpmyadmin#14080
Applied code sniffer.

Signed-off-by: Lakshay arora <carefreelakshay97@gmail.com>

@mauriciofauth mauriciofauth added the bug label Mar 30, 2018

@mauriciofauth mauriciofauth added this to the 4.8.0 milestone Mar 30, 2018

@mauriciofauth mauriciofauth self-assigned this Mar 30, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment