[Address book] Push not sent
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 32/100
Research direction
Start by reproducing the second address-book edit through POST /nextcloud/contactsmenu/contacts, then inspect apps/circles/lib/Db/CoreQueryBuilder.php around line 1355 and the trace through CardDavBackend.php. Done means subsequent address-book edits no longer produce the orX exception and the push is sent successfully; no test file is named in the issue.
Written by the indexing model from the issue text.
Description
I tried out address book push. The push message was sent on the first edit, but subsequent edits result in a Nextcloud error:
[no app in context] Debug: Calling OCP\DB\QueryBuilder\IQueryBuilder::orX without parameters is deprecated and will throw soon.
POST /nextcloud/contactsmenu/contacts
from 2001:871:21c:612:62c9:ace7:dd9f:3248 by test at 22 Feb 2025, 12:45:12 pm
{
"reqId": "VROKXnKXO01eksHnCVYC",
"level": 0,
"time": "2025-02-22T11:45:12+00:00",
"remoteAddr": "2001:871:21c:612:62c9:ace7:dd9f:3248",
"user": "test",
"app": "no app in context",
"method": "POST",
"url": "/nextcloud/contactsmenu/contacts",
"message": "Calling OCP\\DB\\QueryBuilder\\IQueryBuilder::orX without parameters is deprecated and will throw soon.",
"userAgent": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0",
"version": "30.0.4.1",
"exception": {
"Exception": "Exception",
"Message": "No parameters in call to OC\\DB\\QueryBuilder\\ExpressionBuilder\\ExpressionBuilder::orX",
"Code": 0,
"Trace": [
{
"file": "/var/www/html/nextcloud/apps/circles/lib/Db/CoreQueryBuilder.php",
"line": 1355,
"function": "orX",
"class": "OC\\DB\\QueryBuilder\\ExpressionBuilder\\ExpressionBuilder",
"type": "->"
},
{
"file": "/var/www/html/nextcloud/apps/circles/lib/Db/CoreQueryBuilder.php",
"line": 1122,
"function": "limitInitiatorVisibility",
"class": "OCA\\Circles\\Db\\CoreQueryBuilder",
"type": "->"
},
{
"file": "/var/www/html/nextcloud/apps/circles/lib/Db/CircleRequest.php",
"line": 166,
"function": "limitToInitiator",
"class": "OCA\\Circles\\Db\\CoreQueryBuilder",
"type": "->"
},
{
"file": "/var/www/html/nextcloud/apps/circles/lib/Service/CircleService.php",
"line": 527,
"function": "getCircles",
"class": "OCA\\Circles\\Db\\CircleRequest",
"type": "->"
},
{
"file": "/var/www/html/nextcloud/apps/circles/lib/Api/v1/Circles.php",
"line": 133,
"function": "getCircles",
"class": "OCA\\Circles\\Service\\CircleService",
"type": "->"
},
{
"file": "/var/www/html/nextcloud/apps/dav/lib/Connector/Sabre/Principal.php",
"line": 573,
"function": "joinedCircles",
"class": "OCA\\Circles\\Api\\v1\\Circles",
"type": "::"
},
{
"file": "/var/www/html/nextcloud/apps/dav/lib/CardDAV/CardDavBackend.php",
"line": 130,
"function": "getCircleMembership",
"class": "OCA\\DAV\\Connector\\Sabre\\Principal",
"type": "->"
},
{
"file": "/var/www/html/nextcloud/lib/public/AppFramework/Db/TTransactional.php",
"line": 45,
"function": "OCA\\DAV\\CardDAV\\{closure}",
"class": "OCA\\DAV\\CardDAV\\CardDavBackend",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/nextcloud/apps/dav/lib/CardDAV/CardDavBackend.php",
"line": 102,
"function": "atomic",
"class": "OCA\\DAV\\CardDAV\\CardDavBackend",
"type": "->"
},
{
"file": "/var/www/html/nextcloud/apps/dav/lib/CardDAV/ContactsManager.php",
"line": 38,
"function": "getAddressBooksForUser",
"class": "OCA\\DAV\\CardDAV\\CardDavBackend",
"type": "->"
},
{
"file": "/var/www/html/nextcloud/apps/dav/lib/AppInfo/Application.php",
"line": 262,
"function": "setupContactsProvider",
"class": "OCA\\DAV\\CardDAV\\ContactsManager",
"type": "->"
},
{
"file": "/var/www/html/nextcloud/apps/dav/lib/AppInfo/Application.php",
"line": 249,
"function": "setupContactsProvider",
"class": "OCA\\DAV\\AppInfo\\Application",
"type": "->"
},
{
"file": "/var/www/html/nextcloud/lib/private/ContactsManager.php",
"line": 190,
"function": "OCA\\DAV\\AppInfo\\{closure}",
"class": "OCA\\DAV\\AppInfo\\Application",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/nextcloud/lib/private/ContactsManager.php",
"line": 34,
"function": "loadAddressBooks",
"class": "OC\\ContactsManager",
"type": "->"
},
{
"file": "/var/www/html/nextcloud/lib/private/Contacts/ContactsMenu/ContactsStore.php",
"line": 118,
"function": "search",
"class": "OC\\ContactsManager",
"type": "->"
},
{
"file": "/var/www/html/nextcloud/lib/private/Contacts/ContactsMenu/Manager.php",
"line": 34,
"function": "getContacts",
"class": "OC\\Contacts\\ContactsMenu\\ContactsStore",
"type": "->"
},
{
"file": "/var/www/html/nextcloud/core/Controller/ContactsMenuController.php",
"line": 34,
"function": "getEntries",
"class": "OC\\Contacts\\ContactsMenu\\Manager",
"type": "->"
},
{
"file": "/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 208,
"function": "index",
"class": "OC\\Core\\Controller\\ContactsMenuController",
"type": "->"
},
{
"file": "/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 114,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
},
{
"file": "/var/www/html/nextcloud/lib/private/AppFramework/App.php",
"line": 161,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
},
{
"file": "/var/www/html/nextcloud/lib/private/Route/Router.php",
"line": 302,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::"
},
{
"file": "/var/www/html/nextcloud/lib/base.php",
"line": 1003,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->"
},
{
"file": "/var/www/html/nextcloud/index.php",
"line": 24,
"function": "handleRequest",
"class": "OC",
"type": "::"
}
],
"File": "/var/www/html/nextcloud/lib/private/DB/QueryBuilder/ExpressionBuilder/ExpressionBuilder.php",
"Line": 87,
"message": "Calling OCP\\DB\\QueryBuilder\\IQueryBuilder::orX without parameters is deprecated and will throw soon.",
"exception": [],
"CustomMessage": "Calling OCP\\DB\\QueryBuilder\\IQueryBuilder::orX without parameters is deprecated and will throw soon."
},
"id": "67b9b8c83c045"
}
- Dominant language
- PHP
- Stars
- 118
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bitfireAT/nc_ext_dav_push
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
bitfireAT/nc_ext_dav_push#77 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
bitfireAT/nc_ext_dav_push#45 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
bitfireAT/nc_ext_dav_push#69 · 2 reactions ·
-
security
Difficulty 4/5 3-5 days Newbie friendliness 35/100
bitfireAT/nc_ext_dav_push#58 ·
-
Dont receive push with ntfyPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 38/100
bitfireAT/nc_ext_dav_push#55 · 9 comments · 1 reaction ·
All issues in bitfireAT/nc_ext_dav_push
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 87/100
Sylius/Sylius#19359 · 1 comment ·
Maintainers usually reply within 1 day
-
type/accessibility type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Add php 8.6Open
Difficulty 1/5 Under an hour Newbie friendliness 66/100
mailersend/mailersend-php#199 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Configuration new tool
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
novalo-dev/Prestashop-MCP-Server#366 ·
Maintainers usually reply within 1 day