nextcloud / tables

🍱 Nextcloud tables app
https://apps.nextcloud.com/apps/tables
GNU Affero General Public License v3.0
148 stars 23 forks source link

Cannot export to CSV #906

Open ostasevych opened 8 months ago

ostasevych commented 8 months ago

Steps to reproduce

  1. Go to some table
  2. Select all tables
  3. Click the button with a small icon of table and gear close to the Data image
  4. Select Export in the form of CSV
  5. Observe no action
  6. Go to the ... button on the right from the total number of rows
  7. Click over Export to CSV image
  8. Observe no action

Expected behavior

The data should be exported to the CSV file

Actual behavior

No action observed

Tables app version

0.6.6

Browser

Version 1.63.165 Chromium: 122.0.6261.94 (Official Build) (64-bit)

Client operating system

Windows 10 x64

Operating system

Ubuntu 22.04

Web server

Apache

PHP engine version

PHP 8.2

Database

MariaDB

Additional info

No response

Fe-Lit commented 8 months ago

Hi, I was experiencing a similar issue. Try to export a single row of data. After that a selection of some rows. This worked for me except for 2 specific rows. When I tried to do an export with this rows included, the export failed. After deleting these two, I was able to export the whole table. It seems like there is some type of corrupt data which prevents the export of the whole dataset.

biguenique commented 8 months ago

Hi, I was experiencing a similar issue. Try to export a single row of data. After that a selection of some rows. This worked for me except for 2 specific rows. When I tried to do an export with this rows included, the export failed. After deleting these two, I was able to export the whole table. It seems like there is some type of corrupt data which prevents the export of the whole dataset.

Thanks for the workaround, it allowed me to identify one faulty row. After re-editing that row, I was able to export the entire table.

ostasevych commented 7 months ago

Would that be possible to add some warning that the table cannot be exported due to mismatch/error whatever with details, why it is not possible to perform the action? This will help users to "fix" it somehow, at least.

juliusknorr commented 6 months ago

If anyone could share what content those faulty rows had that would help a lot. Also can you check if there was any error in the browser console when trying to export those?