Skip to content

Adding a new column, then row fails #1911

@enjeck

Description

@enjeck

Steps to reproduce

  1. Have a table with column and rows
  2. Create a new column
  3. Try to add row

Expected behavior

Row is created

Actual behavior

Fails with error:

{"reqId":"KTT8e3ZM93GDLApfBppX","level":3,"time":"2025-07-11T13:18:23+00:00","remoteAddr":"192.168.21.5","user":"admin","app":"tables","method":"PUT","url":"/index.php/apps/tables/row/1","message":"An internal error or exception occurred: Column with id 1 is not part of table with id 1","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36","version":"32.0.0.1","exception":{"Exception":"OCA\\Tables\\Errors\\InternalError","Message":"Column with id 1 is not part of table with id 1","Code":0,"Trace":[{"file":"/var/www/html/apps/tables/lib/Service/RowService.php","line":459,"function":"cleanupData","class":"OCA\\Tables\\Service\\RowService","type":"->","args":["*** sensitive parameters replaced ***",[{"__class__":"OCA\\Tables\\Db\\Column","id":2},{"__class__":"OCA\\Tables\\Db\\Column","id":3},{"__class__":"OCA\\Tables\\Db\\Column","id":5}],"*** sensitive parameters replaced ***","*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/tables/lib/Controller/RowController.php","line":97,"function":"updateSet","class":"OCA\\Tables\\Service\\RowService","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/tables/lib/Controller/Errors.php","line":22,"function":"OCA\\Tables\\Controller\\{closure}","class":"OCA\\Tables\\Controller\\RowController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/apps/tables/lib/Controller/RowController.php","line":98,"function":"handleError","class":"OCA\\Tables\\Controller\\RowController","type":"->","args":[{"__class__":"Closure"}]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":202,"function":"updateSet","class":"OCA\\Tables\\Controller\\RowController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":116,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Tables\\Controller\\RowController"},"updateSet"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Tables\\Controller\\RowController"},"updateSet"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Tables\\Controller\\RowController","updateSet",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"tables.row.updateset","id":"1"}]},{"file":"/var/www/html/lib/base.php","line":1040,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/apps/tables/row/1"]},{"file":"/var/www/html/index.php","line":25,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/var/www/html/apps/tables/lib/Service/RowService.php","Line":289,"message":"An internal error or exception occurred: Column with id 1 is not part of table with id 1","exception":{},"CustomMessage":"An internal error or exception occurred: Column with id 1 is not part of table with id 1"}}

Tables app version

No response

Browser

No response

Client operating system

No response

Operating system

No response

Web server

None

PHP engine version

None

Database

None

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    1. to developAccepted and waiting to be taken care ofbugSomething isn't workingregressionRegression of a previous working feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions