-
-
Notifications
You must be signed in to change notification settings - Fork 88
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
[Bug]: No contacts shown in maps since version >= 0.2.0 #847
Comments
Signed-off-by: Arne Hamann <[email protected]>
Applied #849 and disabled and reenabled maps. The error message in the Nextcloud log is gone, but still no contacts are shown. |
Is there any new error messages. To do so I would start with by looking into the response of: [
{
"FN":"Berlin",
"URI":"31B46AD4-9C05-4DA8-ABF7-CE07D693BF2D.vcf",
"UID":"7d68c606-552c-4c45-a2d1-340bc6f1f701",
"ADR":";;;Berlin;;;",
"ADRTYPE":"HOME",
"HAS_PHOTO":false,
"BOOKID":"1",
"BOOKURI":"contacts",
"GEO":"52.5170365;13.3888599",
"GROUPS":null
},
{
"FN":"K\u00f6ln and New York",
"URI":"FF4D1E70-562C-4D41-9BE9-E6AFA046DE4C.vcf",
"UID":"6bd368e0-a710-4090-a45d-9a914e37490d",
"ADR":";;;K\u00f6ln;;;",
"ADRTYPE":"HOME",
"HAS_PHOTO":false,
"BOOKID":"1",
"BOOKURI":"contacts",
"GEO":"52.839208299999996;1.243601357646393",
"GROUPS":null
},
{
"FN":"K\u00f6ln and New York",
"URI":"FF4D1E70-562C-4D41-9BE9-E6AFA046DE4C.vcf",
"UID":"6bd368e0-a710-4090-a45d-9a914e37490d",
"ADR":";;New York;;;;",
"ADRTYPE":"HOME",
"HAS_PHOTO":false,
"BOOKID":"1",
"BOOKURI":"contacts",
"GEO":"30.8385202;-87.2008048",
"GROUPS":null
},
{
"FN":"Geo",
"URI":"16D20C57-F8BF-47E3-AB6D-F0E49A4599DB.vcf",
"UID":"cf157de2-ecaf-470e-b671-4f6d5e618514",
"ADR":"",
"ADRTYPE":"",
"HAS_PHOTO":false,
"BOOKID":"1",
"BOOKURI":"contacts",
"GEO":"geo:50.000,0.000",
"GROUPS":null
}
] If your response looks like this, the issue is probably at the frontend side, and you could check the browser console, for errors. |
The response is empty (unpatched maps 0.2.1 and with #849 applied):
With a "further Information" link (translated from german to english): https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Missing_semicolon_before_statement Directly after loading the app maps the debugger stopped with: and than (after pressing F8 - go further)
I do have the same behavior with Nextcloud 24.0.4 and Maps 0.2.1. |
Which Browser are you using? |
Firefox ESR 102.2.0. |
Does it mean it is an empty json array '[]' or is it empty '' meaning 0byte |
Meaning 0 byte.
|
I'm not shure, actully I'm a bit confused right now. On the other hand now your reporting a bunch of frontend/ js errors. And apparently there are coordinates provided to the frontend. So where do the coordinates come from, if the response was empty? |
I needed some help with debugging in browser. Yes, I get a JSON repsonse, sorry for the false information before.
Log after navigated to https://xxx.yyy./nextcloud/index.php/apps/maps/
|
Ok, long sunday afternoon... :-) I hope this will help you. |
Bug description
Since maps Version 0.2.0 (continued with 0.2.1) contacts are not shown on the map. I can only see this in the nextcloud log:
Steps to reproduce
Expected behavior
Show contacts on maps. It works if I downgrade to 0.1.10 again.
Installation method
Other
Operating system
Other
PHP engine version
PHP 7.4
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install of the server?
No response
Is this bug present after an update or on a fresh install of the app?
Updated from a minor version
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
{
"system": {
"instanceid": "REMOVED SENSITIVE VALUE",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"mrburns.springfield",
"kieltux.spdns.eu"
],
"allow_local_remote_servers": true,
"datadirectory": "REMOVED SENSITIVE VALUE",
"overwrite.cli.url": "https://mrburns.springfield/nextcloud",
"dbtype": "mysql",
"version": "23.0.8.1",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"installed": true,
"mysql.utf8mb4": true,
"maintenance": false,
"memcache.local": "\OC\Memcache\APCu",
"memcache.distributed": "\OC\Memcache\Redis",
"filelocking.enabled": true,
"memcache.locking": "\OC\Memcache\Redis",
"redis": {
"host": "REMOVED SENSITIVE VALUE",
"port": 0,
"timeout": 0
},
"updater.release.channel": "stable",
"auth.bruteforce.protection.enabled": false,
"loglevel": 2,
"mail_smtpmode": "sendmail",
"mail_smtpsecure": "tls",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"mail_smtpport": "465",
"mail_smtpauthtype": "PLAIN",
"mail_smtpauth": 1,
"mail_smtpname": "REMOVED SENSITIVE VALUE",
"mail_smtppassword": "REMOVED SENSITIVE VALUE",
"default_phone_region": "DE",
"theme": "",
"data-fingerprint": "f1f2d38052778af279fa74bae2867f0c",
"app_install_overwrite": [
"spreed"
],
"preview_max_x": "2048",
"preview_max_y": "2048",
"jpeg_quality": "75",
"enabledPreviewProviders": [
"OC\Preview\PNG",
"OC\Preview\JPEG",
"OC\Preview\GIF",
"OC\Preview\HEIC",
"OC\Preview\BMP",
"OC\Preview\XBitmap",
"OC\Preview\MP3",
"OC\Preview\TXT",
"OC\Preview\MarkDown",
"OC\Preview\PDF",
"OC\Preview\Postscript",
"OC\Preview\SVG",
"OC\Preview\TIFF"
]
}
}
Nextcloud Signing status
No response
Nextcloud Logs
Browser Console
No response
Additional info
No response
The text was updated successfully, but these errors were encountered: