Skip to content
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

fix: use owner instead of owner_id to delete photos by owner #1837

Merged
merged 1 commit into from
Jun 5, 2023

Conversation

kesselb
Copy link
Contributor

@kesselb kesselb commented Jun 2, 2023

{
  "reqId": "",
  "level": 3,
  "time": "",
  "remoteAddr": "",
  "user": "",
  "app": "no app in context",
  "method": "DELETE",
  "url": "/ocs/v2.php/apps/files_sharing/api/v1/shares/900",
  "message": "An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'owner_id' in 'where clause'",
  "userAgent": "",
  "version": "25.0.7.2",
  "exception": {
    "Exception": "OC\\DB\\Exceptions\\DbalException",
    "Message": "An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'owner_id' in 'where clause'",
    "Code": 1054,
    "Trace": [
      {
        "file": "/var/www/html/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php",
        "line": 296,
        "function": "wrap",
        "class": "OC\\DB\\Exceptions\\DbalException",
        "type": "::"
      },
      {
        "file": "/var/www/html/nextcloud/apps/photos/lib/Album/AlbumMapper.php",
        "line": 303,
        "function": "executeQuery",
        "class": "OC\\DB\\QueryBuilder\\QueryBuilder",
        "type": "->"
      },
      {
        "file": "/var/www/html/nextcloud/apps/photos/lib/Listener/AlbumsManagementEventListener.php",
        "line": 55,
        "function": "removeFileWithOwner",
        "class": "OCA\\Photos\\Album\\AlbumMapper",
        "type": "->"
      },
      {
        "file": "/var/www/html/nextcloud/apps/photos/lib/Listener/AlbumsManagementEventListener.php",
        "line": 105,
        "function": "OCA\\Photos\\Listener\\{closure}",
        "class": "OCA\\Photos\\Listener\\AlbumsManagementEventListener",
        "type": "->",
        "args": [
          "*** sensitive parameters replaced ***"
        ]
      },
      {
        "file": "/var/www/html/nextcloud/apps/photos/lib/Listener/AlbumsManagementEventListener.php",
        "line": 98,
        "function": "forEachSubNode",
        "class": "OCA\\Photos\\Listener\\AlbumsManagementEventListener",
        "type": "->"
      },
      {
        "file": "/var/www/html/nextcloud/apps/photos/lib/Listener/AlbumsManagementEventListener.php",
        "line": 55,
        "function": "forEachSubNode",
        "class": "OCA\\Photos\\Listener\\AlbumsManagementEventListener",
        "type": "->"
      },
      {
        "file": "/var/www/html/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php",
        "line": 87,
        "function": "handle",
        "class": "OCA\\Photos\\Listener\\AlbumsManagementEventListener",
        "type": "->"
      },
      {
        "file": "/var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
        "line": 251,
        "function": "__invoke",
        "class": "OC\\EventDispatcher\\ServiceEventListener",
        "type": "->"
      },
      {
        "file": "/var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
        "line": 73,
        "function": "callListeners",
        "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php",
        "line": 88,
        "function": "dispatch",
        "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php",
        "line": 100,
        "function": "dispatch",
        "class": "OC\\EventDispatcher\\EventDispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/html/nextcloud/lib/private/Share20/Manager.php",
        "line": 1242,
        "function": "dispatchTyped",
        "class": "OC\\EventDispatcher\\EventDispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/html/nextcloud/apps/files_sharing/lib/Controller/ShareAPIController.php",
        "line": 444,
        "function": "deleteShare",
        "class": "OC\\Share20\\Manager",
        "type": "->"
      },
      {
        "file": "/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 225,
        "function": "deleteShare",
        "class": "OCA\\Files_Sharing\\Controller\\ShareAPIController",
        "type": "->"
      },
      {
        "file": "/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
        "line": 133,
        "function": "executeController",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/html/nextcloud/lib/private/AppFramework/App.php",
        "line": 172,
        "function": "dispatch",
        "class": "OC\\AppFramework\\Http\\Dispatcher",
        "type": "->"
      },
      {
        "file": "/var/www/html/nextcloud/lib/private/Route/Router.php",
        "line": 298,
        "function": "main",
        "class": "OC\\AppFramework\\App",
        "type": "::"
      },
      {
        "file": "/var/www/html/nextcloud/ocs/v1.php",
        "line": 64,
        "function": "match",
        "class": "OC\\Route\\Router",
        "type": "->"
      },
      {
        "file": "/var/www/html/nextcloud/ocs/v2.php",
        "line": 23,
        "args": [
          "/var/www/html/nextcloud/ocs/v1.php"
        ],
        "function": "require_once"
      }
    ],
    "File": "/var/www/html/nextcloud/lib/private/DB/Exceptions/DbalException.php",
    "Line": 72,
    "Previous": {
      "Exception": "Doctrine\\DBAL\\Exception\\InvalidFieldNameException",
      "Message": "An exception occurred while executing a query: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'owner_id' in 'where clause'",
      "Code": 1054,
      "Trace": [
        {
          "file": "/var/www/html/nextcloud/3rdparty/doctrine/dbal/src/Connection.php",
          "line": 1780,
          "function": "convert",
          "class": "Doctrine\\DBAL\\Driver\\API\\MySQL\\ExceptionConverter",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/3rdparty/doctrine/dbal/src/Connection.php",
          "line": 1719,
          "function": "handleDriverException",
          "class": "Doctrine\\DBAL\\Connection",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/3rdparty/doctrine/dbal/src/Connection.php",
          "line": 1067,
          "function": "convertExceptionDuringQuery",
          "class": "Doctrine\\DBAL\\Connection",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/lib/private/DB/Connection.php",
          "line": 261,
          "function": "executeQuery",
          "class": "Doctrine\\DBAL\\Connection",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php",
          "line": 345,
          "function": "executeQuery",
          "class": "OC\\DB\\Connection",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php",
          "line": 281,
          "function": "execute",
          "class": "Doctrine\\DBAL\\Query\\QueryBuilder",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php",
          "line": 294,
          "function": "execute",
          "class": "OC\\DB\\QueryBuilder\\QueryBuilder",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/apps/photos/lib/Album/AlbumMapper.php",
          "line": 303,
          "function": "executeQuery",
          "class": "OC\\DB\\QueryBuilder\\QueryBuilder",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/apps/photos/lib/Listener/AlbumsManagementEventListener.php",
          "line": 55,
          "function": "removeFileWithOwner",
          "class": "OCA\\Photos\\Album\\AlbumMapper",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/apps/photos/lib/Listener/AlbumsManagementEventListener.php",
          "line": 105,
          "function": "OCA\\Photos\\Listener\\{closure}",
          "class": "OCA\\Photos\\Listener\\AlbumsManagementEventListener",
          "type": "->",
          "args": [
            "*** sensitive parameters replaced ***"
          ]
        },
        {
          "file": "/var/www/html/nextcloud/apps/photos/lib/Listener/AlbumsManagementEventListener.php",
          "line": 98,
          "function": "forEachSubNode",
          "class": "OCA\\Photos\\Listener\\AlbumsManagementEventListener",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/apps/photos/lib/Listener/AlbumsManagementEventListener.php",
          "line": 55,
          "function": "forEachSubNode",
          "class": "OCA\\Photos\\Listener\\AlbumsManagementEventListener",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php",
          "line": 87,
          "function": "handle",
          "class": "OCA\\Photos\\Listener\\AlbumsManagementEventListener",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
          "line": 251,
          "function": "__invoke",
          "class": "OC\\EventDispatcher\\ServiceEventListener",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
          "line": 73,
          "function": "callListeners",
          "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php",
          "line": 88,
          "function": "dispatch",
          "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php",
          "line": 100,
          "function": "dispatch",
          "class": "OC\\EventDispatcher\\EventDispatcher",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/lib/private/Share20/Manager.php",
          "line": 1242,
          "function": "dispatchTyped",
          "class": "OC\\EventDispatcher\\EventDispatcher",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/apps/files_sharing/lib/Controller/ShareAPIController.php",
          "line": 444,
          "function": "deleteShare",
          "class": "OC\\Share20\\Manager",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
          "line": 225,
          "function": "deleteShare",
          "class": "OCA\\Files_Sharing\\Controller\\ShareAPIController",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
          "line": 133,
          "function": "executeController",
          "class": "OC\\AppFramework\\Http\\Dispatcher",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/lib/private/AppFramework/App.php",
          "line": 172,
          "function": "dispatch",
          "class": "OC\\AppFramework\\Http\\Dispatcher",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/lib/private/Route/Router.php",
          "line": 298,
          "function": "main",
          "class": "OC\\AppFramework\\App",
          "type": "::"
        },
        {
          "file": "/var/www/html/nextcloud/ocs/v1.php",
          "line": 64,
          "function": "match",
          "class": "OC\\Route\\Router",
          "type": "->"
        },
        {
          "file": "/var/www/html/nextcloud/ocs/v2.php",
          "line": 23,
          "args": [
            "/var/www/html/nextcloud/ocs/v1.php"
          ],
          "function": "require_once"
        }
      ],
      "File": "/var/www/html/nextcloud/3rdparty/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php",
      "Line": 65,
      "Previous": {
        "Exception": "Doctrine\\DBAL\\Driver\\PDO\\Exception",
        "Message": "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'owner_id' in 'where clause'",
        "Code": 1054,
        "Trace": [
          {
            "file": "/var/www/html/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php",
            "line": 94,
            "function": "new",
            "class": "Doctrine\\DBAL\\Driver\\PDO\\Exception",
            "type": "::"
          },
          {
            "file": "/var/www/html/nextcloud/3rdparty/doctrine/dbal/src/Connection.php",
            "line": 1057,
            "function": "execute",
            "class": "Doctrine\\DBAL\\Driver\\PDO\\Statement",
            "type": "->"
          },
          {
            "file": "/var/www/html/nextcloud/lib/private/DB/Connection.php",
            "line": 261,
            "function": "executeQuery",
            "class": "Doctrine\\DBAL\\Connection",
            "type": "->"
          },
          {
            "file": "/var/www/html/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php",
            "line": 345,
            "function": "executeQuery",
            "class": "OC\\DB\\Connection",
            "type": "->"
          },
          {
            "file": "/var/www/html/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php",
            "line": 281,
            "function": "execute",
            "class": "Doctrine\\DBAL\\Query\\QueryBuilder",
            "type": "->"
          },
          {
            "file": "/var/www/html/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php",
            "line": 294,
            "function": "execute",
            "class": "OC\\DB\\QueryBuilder\\QueryBuilder",
            "type": "->"
          },
          {
            "file": "/var/www/html/nextcloud/apps/photos/lib/Album/AlbumMapper.php",
            "line": 303,
            "function": "executeQuery",
            "class": "OC\\DB\\QueryBuilder\\QueryBuilder",
            "type": "->"
          },
          {
            "file": "/var/www/html/nextcloud/apps/photos/lib/Listener/AlbumsManagementEventListener.php",
            "line": 55,
            "function": "removeFileWithOwner",
            "class": "OCA\\Photos\\Album\\AlbumMapper",
            "type": "->"
          },
          {
            "file": "/var/www/html/nextcloud/apps/photos/lib/Listener/AlbumsManagementEventListener.php",
            "line": 105,
            "function": "OCA\\Photos\\Listener\\{closure}",
            "class": "OCA\\Photos\\Listener\\AlbumsManagementEventListener",
            "type": "->",
            "args": [
              "*** sensitive parameters replaced ***"
            ]
          },
          {
            "file": "/var/www/html/nextcloud/apps/photos/lib/Listener/AlbumsManagementEventListener.php",
            "line": 98,
            "function": "forEachSubNode",
            "class": "OCA\\Photos\\Listener\\AlbumsManagementEventListener",
            "type": "->"
          },
          {
            "file": "/var/www/html/nextcloud/apps/photos/lib/Listener/AlbumsManagementEventListener.php",
            "line": 55,
            "function": "forEachSubNode",
            "class": "OCA\\Photos\\Listener\\AlbumsManagementEventListener",
            "type": "->"
          },
          {
            "file": "/var/www/html/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php",
            "line": 87,
            "function": "handle",
            "class": "OCA\\Photos\\Listener\\AlbumsManagementEventListener",
            "type": "->"
          },
          {
            "file": "/var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
            "line": 251,
            "function": "__invoke",
            "class": "OC\\EventDispatcher\\ServiceEventListener",
            "type": "->"
          },
          {
            "file": "/var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
            "line": 73,
            "function": "callListeners",
            "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
            "type": "->"
          },
          {
            "file": "/var/www/html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php",
            "line": 88,
            "function": "dispatch",
            "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
            "type": "->"
          },
          {
            "file": "/var/www/html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php",
            "line": 100,
            "function": "dispatch",
            "class": "OC\\EventDispatcher\\EventDispatcher",
            "type": "->"
          },
          {
            "file": "/var/www/html/nextcloud/lib/private/Share20/Manager.php",
            "line": 1242,
            "function": "dispatchTyped",
            "class": "OC\\EventDispatcher\\EventDispatcher",
            "type": "->"
          },
          {
            "file": "/var/www/html/nextcloud/apps/files_sharing/lib/Controller/ShareAPIController.php",
            "line": 444,
            "function": "deleteShare",
            "class": "OC\\Share20\\Manager",
            "type": "->"
          },
          {
            "file": "/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
            "line": 225,
            "function": "deleteShare",
            "class": "OCA\\Files_Sharing\\Controller\\ShareAPIController",
            "type": "->"
          },
          {
            "file": "/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
            "line": 133,
            "function": "executeController",
            "class": "OC\\AppFramework\\Http\\Dispatcher",
            "type": "->"
          },
          {
            "file": "/var/www/html/nextcloud/lib/private/AppFramework/App.php",
            "line": 172,
            "function": "dispatch",
            "class": "OC\\AppFramework\\Http\\Dispatcher",
            "type": "->"
          },
          {
            "file": "/var/www/html/nextcloud/lib/private/Route/Router.php",
            "line": 298,
            "function": "main",
            "class": "OC\\AppFramework\\App",
            "type": "::"
          },
          {
            "file": "/var/www/html/nextcloud/ocs/v1.php",
            "line": 64,
            "function": "match",
            "class": "OC\\Route\\Router",
            "type": "->"
          },
          {
            "file": "/var/www/html/nextcloud/ocs/v2.php",
            "line": 23,
            "args": [
              "/var/www/html/nextcloud/ocs/v1.php"
            ],
            "function": "require_once"
          }
        ],
        "File": "/var/www/html/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Exception.php",
        "Line": 26,
        "Previous": {
          "Exception": "PDOException",
          "Message": "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'owner_id' in 'where clause'",
          "Code": "42S22",
          "Trace": [
            {
              "file": "/var/www/html/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php",
              "line": 92,
              "function": "execute",
              "class": "PDOStatement",
              "type": "->"
            },
            {
              "file": "/var/www/html/nextcloud/3rdparty/doctrine/dbal/src/Connection.php",
              "line": 1057,
              "function": "execute",
              "class": "Doctrine\\DBAL\\Driver\\PDO\\Statement",
              "type": "->"
            },
            {
              "file": "/var/www/html/nextcloud/lib/private/DB/Connection.php",
              "line": 261,
              "function": "executeQuery",
              "class": "Doctrine\\DBAL\\Connection",
              "type": "->"
            },
            {
              "file": "/var/www/html/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php",
              "line": 345,
              "function": "executeQuery",
              "class": "OC\\DB\\Connection",
              "type": "->"
            },
            {
              "file": "/var/www/html/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php",
              "line": 281,
              "function": "execute",
              "class": "Doctrine\\DBAL\\Query\\QueryBuilder",
              "type": "->"
            },
            {
              "file": "/var/www/html/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php",
              "line": 294,
              "function": "execute",
              "class": "OC\\DB\\QueryBuilder\\QueryBuilder",
              "type": "->"
            },
            {
              "file": "/var/www/html/nextcloud/apps/photos/lib/Album/AlbumMapper.php",
              "line": 303,
              "function": "executeQuery",
              "class": "OC\\DB\\QueryBuilder\\QueryBuilder",
              "type": "->"
            },
            {
              "file": "/var/www/html/nextcloud/apps/photos/lib/Listener/AlbumsManagementEventListener.php",
              "line": 55,
              "function": "removeFileWithOwner",
              "class": "OCA\\Photos\\Album\\AlbumMapper",
              "type": "->"
            },
            {
              "file": "/var/www/html/nextcloud/apps/photos/lib/Listener/AlbumsManagementEventListener.php",
              "line": 105,
              "function": "OCA\\Photos\\Listener\\{closure}",
              "class": "OCA\\Photos\\Listener\\AlbumsManagementEventListener",
              "type": "->",
              "args": [
                "*** sensitive parameters replaced ***"
              ]
            },
            {
              "file": "/var/www/html/nextcloud/apps/photos/lib/Listener/AlbumsManagementEventListener.php",
              "line": 98,
              "function": "forEachSubNode",
              "class": "OCA\\Photos\\Listener\\AlbumsManagementEventListener",
              "type": "->"
            },
            {
              "file": "/var/www/html/nextcloud/apps/photos/lib/Listener/AlbumsManagementEventListener.php",
              "line": 55,
              "function": "forEachSubNode",
              "class": "OCA\\Photos\\Listener\\AlbumsManagementEventListener",
              "type": "->"
            },
            {
              "file": "/var/www/html/nextcloud/lib/private/EventDispatcher/ServiceEventListener.php",
              "line": 87,
              "function": "handle",
              "class": "OCA\\Photos\\Listener\\AlbumsManagementEventListener",
              "type": "->"
            },
            {
              "file": "/var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
              "line": 251,
              "function": "__invoke",
              "class": "OC\\EventDispatcher\\ServiceEventListener",
              "type": "->"
            },
            {
              "file": "/var/www/html/nextcloud/3rdparty/symfony/event-dispatcher/EventDispatcher.php",
              "line": 73,
              "function": "callListeners",
              "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
              "type": "->"
            },
            {
              "file": "/var/www/html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php",
              "line": 88,
              "function": "dispatch",
              "class": "Symfony\\Component\\EventDispatcher\\EventDispatcher",
              "type": "->"
            },
            {
              "file": "/var/www/html/nextcloud/lib/private/EventDispatcher/EventDispatcher.php",
              "line": 100,
              "function": "dispatch",
              "class": "OC\\EventDispatcher\\EventDispatcher",
              "type": "->"
            },
            {
              "file": "/var/www/html/nextcloud/lib/private/Share20/Manager.php",
              "line": 1242,
              "function": "dispatchTyped",
              "class": "OC\\EventDispatcher\\EventDispatcher",
              "type": "->"
            },
            {
              "file": "/var/www/html/nextcloud/apps/files_sharing/lib/Controller/ShareAPIController.php",
              "line": 444,
              "function": "deleteShare",
              "class": "OC\\Share20\\Manager",
              "type": "->"
            },
            {
              "file": "/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
              "line": 225,
              "function": "deleteShare",
              "class": "OCA\\Files_Sharing\\Controller\\ShareAPIController",
              "type": "->"
            },
            {
              "file": "/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
              "line": 133,
              "function": "executeController",
              "class": "OC\\AppFramework\\Http\\Dispatcher",
              "type": "->"
            },
            {
              "file": "/var/www/html/nextcloud/lib/private/AppFramework/App.php",
              "line": 172,
              "function": "dispatch",
              "class": "OC\\AppFramework\\Http\\Dispatcher",
              "type": "->"
            },
            {
              "file": "/var/www/html/nextcloud/lib/private/Route/Router.php",
              "line": 298,
              "function": "main",
              "class": "OC\\AppFramework\\App",
              "type": "::"
            },
            {
              "file": "/var/www/html/nextcloud/ocs/v1.php",
              "line": 64,
              "function": "match",
              "class": "OC\\Route\\Router",
              "type": "->"
            },
            {
              "file": "/var/www/html/nextcloud/ocs/v2.php",
              "line": 23,
              "args": [
                "/var/www/html/nextcloud/ocs/v1.php"
              ],
              "function": "require_once"
            }
          ],
          "File": "/var/www/html/nextcloud/3rdparty/doctrine/dbal/src/Driver/PDO/Statement.php",
          "Line": 92
        }
      }
    },
    "CustomMessage": "--"
  }
}

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@kesselb kesselb requested a review from artonge June 2, 2023 10:24
@kesselb kesselb self-assigned this Jun 2, 2023
@kesselb kesselb added bug Something isn't working 3. to review Waiting for reviews labels Jun 2, 2023
Copy link
Collaborator

@artonge artonge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, nice catch

@artonge artonge merged commit 6c11b60 into master Jun 5, 2023
@artonge artonge deleted the fix-query-for-photo-albums branch June 5, 2023 12:17
@artonge
Copy link
Collaborator

artonge commented Jun 5, 2023

/backport to stable27

@artonge
Copy link
Collaborator

artonge commented Jun 5, 2023

/backport to stable26

@backportbot-nextcloud backportbot-nextcloud bot added the backport-request Pending backport by the backport-bot label Jun 5, 2023
@artonge
Copy link
Collaborator

artonge commented Jun 5, 2023

/backport to stable25

@backportbot-nextcloud
Copy link

The backport to stable26 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable26
git pull origin/stable26

# Create the new backport branch
git checkout -b fix/foo-stable26

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts. Resolve them.
git cherry-pick abc123

# Push the cherry pick commit to the remote repository and open a pull request
git push origin fix/foo-stable26

More info at https://docs.nextcloud.com/server/latest/developer_manual/getting_started/development_process.html#manual-backport

@artonge
Copy link
Collaborator

artonge commented Jun 5, 2023

/backport to stable26

@backportbot-nextcloud backportbot-nextcloud bot added the backport-request Pending backport by the backport-bot label Jun 5, 2023
@backportbot-nextcloud
Copy link

The backport to stable26 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable26
git pull origin/stable26

# Create the new backport branch
git checkout -b fix/foo-stable26

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts. Resolve them.
git cherry-pick abc123

# Push the cherry pick commit to the remote repository and open a pull request
git push origin fix/foo-stable26

More info at https://docs.nextcloud.com/server/latest/developer_manual/getting_started/development_process.html#manual-backport

@artonge
Copy link
Collaborator

artonge commented Jun 5, 2023

Need #1846 for 26 backport

@artonge
Copy link
Collaborator

artonge commented Jun 6, 2023

/backport to stable26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants