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
Mail app cannot find users o Groups #2668
Comments
That error has nothing to do with the problem described. Anything else in the logs? Does the autocomplete reqeust show up in the network tab? Does it return any results? |
I do not understand what is "the network tab"? [mail] Error: OCA\Mail\Exception\ServiceException: Could not send message at <>
POST /apps/mail/api/accounts/1/send |
This is a regression I saw on my side when migrating from 16.0.8 to 17.0.4. Indeed, the group are not shown anymore during the autocomplete. Probably a regression between v0.17 (NC16 compatible) and current v1.1.3. |
That or a change in logic for the code that provides the suggestions. Someone has to investigate. Are you familiar with xdebug? |
@ChristophWurst I have never used xdebug, but I am ready to try. But after I do not know where to find the information from XDebug. |
The idea is to step through the code to inspect the values. So you'll need an IDE like VSCode, Netbeans or PhpStorm. Then configure the xdebug to send debugging requests to the IDEs port. |
@ChristophWurst The autocomplete seems to works differently in Talk and för sharing things. Do you use different algorithms? |
Yes, it's different because we also use contacts data and similar. |
@ChristophWurst I finally succeeded in setting up Xdebug with Codium. I can notice that the group integration seems to query only the Contact groups. It seems that no code is looking for the groups created by the admin in the page containing all the NC users. I have no clue on how we can search for groups created by the admin in the user panel. Any idea on where I can find such information ? I might be wrong as this is my first debug ever in PHP and XDebug, sorry if this is the case. |
Nextcloud groups should be resovled by |
Found it! |
I just tested this on NC18 + Mail 1.4.1 and it is working fine again. I am not sure on which version it has been solved. Good news. |
Expected behavior
When I start writing the name or group of recipient the app should propose the Group o user.
Actual behavior
The app does not propose a name o Group
I I write the name of the Group the message is not sent
I get an error in the log - see further down
Mail app
Mail app version: (see apps admin page, e.g. 0.5.3)
Mail 1.1.2
Mailserver or service: (e.g. Outlook, Yahoo, Gmail, Exchange,...)
IMAP SMTP
Server configuration
Operating system: (e.g. Debian 8)
Ubuntu 18.0.4
Web server: (e.g. Apache, Nginx,...)
Nginx
Database: (e.g. MariaDB, SQLite or PostgreSQL)
MariadB
PHP version: (e.g. 7.0)
7.3.11
Nextcloud Version: (see admin page, e.g. 13.0.2)
17.0.3
Client configuration
Browser: (e.g. Firefox 48)
Chrome
Operating system: (e.g. Arch Linux)
Windows 10
Error log
[mail] Error: OCA\Mail\Exception\ServiceException: Could not sync messages at <>
OCA\Mail\Service\MailManager->syncMessages(OCA\Mail\Account {}, OCA\Mail\IMAP\Sync\Request {})
OCA\Mail\Controller\FoldersController->sync(6, "SU5CT1g=", "VTY0MyxWMTUxNzg0MzMwNCxIMTkxNw==", ["642","641","64 ... "])
OC\AppFramework\Http\Dispatcher->executeController(OCA\Mail\Controller\FoldersController {}, "sync")
OC\AppFramework\Http\Dispatcher->dispatch(OCA\Mail\Controller\FoldersController {}, "sync")
OC\AppFramework\App::main("OCA\Mail\Cont ... r", "sync", OC\AppFramework\ ... {}, {accountId: "6", ... "})
OC\AppFramework\Routing\RouteActionHandler->__invoke({accountId: "6", ... "})
undefinedundefinedcall_user_func(OC\AppFramework\ ... {}, {accountId: "6", ... "})
OC\Route\Router->match("/apps/mail/api/ ... c")
OC::handleRequest()
GET /apps/mail/api/accounts/6/folders/SU5CT1g%3D/sync?syncToken=VTY0MyxWMTUxNzg0MzMwNCxIMTkxNw%3D%3D&uids[]=642&uids[]=641&uids[]=640&uids[]=639&uids[]=638&uids[]=637&uids[]=636&uids[]=635&uids[]=634&uids[]=633&uids[]=632&uids[]=631&uids[]=630&uids[]=629&uids[]=628&uids[]=627&uids[]=626&uids[]=625&uids[]=624&uids[]=623
from at 2020-02-20T08:36:36+01:00
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: