nextcloud / tables

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

`data` field empty at GET `/index.php/apps/tables/api/1/rows/{rowId}` #1048

Open Pilzinsel64 opened 5 months ago

Pilzinsel64 commented 5 months ago

Steps to reproduce

  1. Create a new table, one view and add at least one row.
  2. Get the row id by listing all rows via /index.php/apps/tables/api/1/views/{viewId}/rows.
  3. Query a row via /index.php/apps/tables/api/1/rows/{rowId} with the id you found out before.

Expected behavior

/index.php/apps/tables/api/1/rows/{rowId} should return the cell values in the data field. grafik

Actual behavior

/index.php/apps/tables/api/1/rows/{rowId} returns all row data but leaves the data field wich holds the cell values empty.

Tables app version

0.7.1

Browser

Firefox 125.0.3

Client operating system

Windows

Operating system

Ubuntu Server 22.04 LTS

Web server

Apache

PHP engine version

PHP 8.2

Database

MariaDB

Additional info

This started happening with Nextcloud 29.0.0 (at least I didn't regonized it before the update). I'm using tables as small pseudo database within a public software and just published the public beta before I've seen that the data field keeps empty.

This error appeared once (but not reproduceable): grafik

MyPsyOnline commented 5 months ago

I reproduce the bug when i use large request in the table with /index.php/apps/tables/api/1/tables/{tableId}/rows then i have the fied "data" correctly populated by json, but when i use /index.php/apps/tables/api/1/rows/{rowId}, then the field "data" is empty

Pilzinsel64 commented 4 months ago

The only workaround is polling all rows each time I need a data from one row. This is absolutely imperformant. There is no real workaround for that.

ISC-PRO commented 3 months ago

I have the same bug in Tables app version 0.7.3. Please fix it.

yshsy commented 1 week ago

I can confirm this bug is still present as of version 0.8.0.