Skip to content

After Update to Tables 1.0 row can't be updated in view #2119

Description

@pand-herber

Steps to reproduce

  1. Open a view of a nextcloud table
  2. Edit a row in the menu opened with the blue button at the end of the row
  3. Change a value and save

Expected behavior

Row is saved and the menu closed

Actual behavior

Receive an error message: Row couldn't be updated Unknow error
Changes are not saved

In the logs following error message is shown: "An internal error or exception occurred: Column with id -1 is not part of view with id 14"

Is anyone else experiencing something similar? Any ideas?

Tables app version

1.0

Browser

Firefox 144

Client operating system

Windows and Linux

Operating system

Ubuntu 22.04

Web server

Nginx

PHP engine version

PHP 8.3

Database

PostgreSQL

Additional info

Here is the full log entry:

 "reqId": "KdbVCDuSpisY4yqjVfcS",
  "level": 3,
  "time": "2025-10-24T21:43:08+02:00",
  "remoteAddr": "XXX.XXX.XXX.XXX",
  "user": "XXXXXXXX",
  "app": "tables",
  "method": "PUT",
  "url": "/apps/tables/row/20837",
  "message": "An internal error or exception occurred: Column with id -1 is not part of view with id 14",
  "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:144.0) Gecko/20100101 Firefox/144.0",
  "version": "30.0.17.2",
  "exception": {
    "Exception": "OCA\\Tables\\Errors\\InternalError",
    "Message": "Column with id -1 is not part of view with id 14",
    "Code": 0,
    "Trace": [
      {
        "file": "/var/www/nextcloud/apps/tables/lib/Service/RowService.php",
        "line": 609,
        "function": "cleanupAndValidateData",
        "class": "OCA\\Tables\\Service\\RowService",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/apps/tables/lib/Controller/RowController.php",
        "line": 82,
        "function": "updateSet",
        "class": "OCA\\Tables\\Service\\RowService",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/nextcloud/apps/tables/lib/Controller/Errors.php",
        "line": 23,
        "function": "OCA\\Tables\\Controller\\{closure}",
        "class": "OCA\\Tables\\Controller\\RowController",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/nextcloud/apps/tables/lib/Controller/RowController.php",
        "line": 77,
        "function": "handleError",
        "class": "OCA\\Tables\\Controller\\RowController",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 208,
        "function": "updateSet",
        "class": "OCA\\Tables\\Controller\\RowController",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 114,
        "function": "executeController",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
        "line": 161,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/lib/private/Route/Router.php",
        "line": 303,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::"
      },
      {
        "file": "/var/www/nextcloud/lib/base.php",
        "line": 1032,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->"
      },
      {
        "file": "/var/www/nextcloud/index.php",
        "line": 24,
        "function": "handleRequest",
        "class": "OC",
        "type": "::"
      }
    ],
    "File": "/var/www/nextcloud/apps/tables/lib/Service/RowService.php",
    "Line": 328,
    "message": "An internal error or exception occurred: Column with id -1 is not part of view with id 14",
    "exception": [],
    "CustomMessage": "An internal error or exception occurred: Column with id -1 is not part of view with id 14"
  },
  "id": "68fbdb4ac652b"
}

Metadata

Metadata

Assignees

Labels

0. Needs triagePending approval or rejection. This issue is pending approval.bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions