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

[Bug]: No contacts shown in maps since version >= 0.2.0 #847

Closed
6 of 9 tasks
Kieltux opened this issue Sep 5, 2022 · 11 comments · Fixed by #849
Closed
6 of 9 tasks

[Bug]: No contacts shown in maps since version >= 0.2.0 #847

Kieltux opened this issue Sep 5, 2022 · 11 comments · Fixed by #849

Comments

@Kieltux
Copy link

Kieltux commented Sep 5, 2022

⚠️ This issue respects the following points: ⚠️

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:

[PHP] Fehler: strlen() expects parameter 1 to be string, array given at /srv/www/htdocs/nextcloud/apps/maps/lib/Controller/ContactsController.php#74

GET /nextcloud/index.php/apps/maps/contacts
from 192.168.0.XX by XYZ at 2022-09-03T16:51:40+00:00

Steps to reproduce

  1. Open Maps
  2. Enable Contacts (if disabled)

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?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

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"
]
}
}



### List of activated Apps

```shell
Enabled:
  - accessibility: 1.9.0
  - activity: 2.15.0
  - calendar: 3.5.0
  - circles: 23.1.2
  - cloud_federation_api: 1.6.0
  - comments: 1.13.0
  - contacts: 4.2.0
  - contactsinteraction: 1.4.0
  - cookbook: 0.9.14
  - cospend: 1.4.10
  - dav: 1.21.0
  - deck: 1.6.3
  - federatedfilesharing: 1.13.0
  - federation: 1.13.0
  - files: 1.18.0
  - files_pdfviewer: 2.4.0
  - files_rightclick: 1.2.0
  - files_sharing: 1.15.0
  - files_trashbin: 1.13.0
  - files_versions: 1.16.0
  - files_videoplayer: 1.12.0
  - firstrunwizard: 2.12.0
  - logreader: 2.8.0
  - lookup_server_connector: 1.11.0
  - maps: 0.2.1
  - news: 18.1.1
  - nextcloud_announcements: 1.12.0
  - notes: 4.5.1
  - notifications: 2.11.1
  - oauth2: 1.11.0
  - password_policy: 1.13.0
  - photos: 1.5.0
  - previewgenerator: 5.0.0
  - privacy: 1.7.0
  - provisioning_api: 1.13.0
  - recommendations: 1.2.0
  - richdocuments: 5.0.7
  - serverinfo: 1.13.0
  - settings: 1.5.0
  - sharebymail: 1.13.0
  - side_menu: 2.5.1
  - spreed: 13.0.8
  - support: 1.6.0
  - survey_client: 1.11.0
  - systemtags: 1.13.0
  - text: 3.4.1
  - theming: 1.14.0
  - theming_customcss: 1.11.0
  - twofactor_backupcodes: 1.12.0
  - twofactor_totp: 6.4.0
  - updatenotification: 1.13.0
  - user_status: 1.3.1
  - viewer: 1.7.0
  - weather_status: 1.3.0
  - workflowengine: 2.5.0
Disabled:
  - admin_audit
  - dashboard: 7.2.0
  - encryption
  - files_external
  - user_ldap

Nextcloud Signing status

No response

Nextcloud Logs

{"reqId":"8J4O0NURlcyE5IOS2xX8","level":3,"time":"2022-09-03T16:51:40+00:00","remoteAddr":"192.168.0.20","user":"carsten","app":"PHP","method":"GET","url":"/nextcloud/index.php/apps/maps/contacts","message":"strlen() expects parameter 1 to be string, array given at /srv/www/htdocs/nextcloud/apps/maps/lib/Controller/ContactsController.php#74","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0","version":"23.0.8.1","exception":{"Exception":"Error","Message":"strlen() expects parameter 1 to be string, array given at /srv/www/htdocs/nextcloud/apps/maps/lib/Controller/ContactsController.php#74","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/srv/www/htdocs/nextcloud/apps/maps/lib/Controller/ContactsController.php","line":74,"function":"strlen"},{"file":"/srv/www/htdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":217,"function":"getContacts","class":"OCA\\Maps\\Controller\\ContactsController","type":"->"},{"file":"/srv/www/htdocs/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":126,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/srv/www/htdocs/nextcloud/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/srv/www/htdocs/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/srv/www/htdocs/nextcloud/lib/base.php","line":1008,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/srv/www/htdocs/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/srv/www/htdocs/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"id":"631623d56474a"}

Browser Console

No response

Additional info

No response

@Kieltux Kieltux changed the title [Bug]: No contacts shown in Maps since Maps version >= 0.2.0 [Bug]: No contacts shown in maps since version >= 0.2.0 Sep 5, 2022
tacruc added a commit that referenced this issue Sep 6, 2022
Signed-off-by: Arne Hamann <[email protected]>
@tacruc
Copy link
Collaborator

tacruc commented Sep 6, 2022

@Kieltux can you verify if #849 solves your problem?

@Kieltux
Copy link
Author

Kieltux commented Sep 6, 2022

Applied #849 and disabled and reenabled maps. The error message in the Nextcloud log is gone, but still no contacts are shown.
Thank you for investigating the problem.

@tacruc
Copy link
Collaborator

tacruc commented Sep 7, 2022

Is there any new error messages.
My problem is currently, that I have a hard time, to reproduce the Issue. I assume, that the issue is created by one of your contacts. More precisely, the value of the GEO, field of it.
So It would be a major help, if you could identify the contact which produces this Issue. Or invalidate my assumption.

To do so I would start with by looking into the response of:
GET /nextcloud/index.php/apps/maps/contacts
You can do so by using the network tool in the developer tools of firefox or chrome.
The response should look like:

[
   {
      "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.
If the is empty or looks different, we have to further investigate the backend.

@Kieltux
Copy link
Author

Kieltux commented Sep 8, 2022

The response is empty (unpatched maps 0.2.1 and with #849 applied):

GET https://XXX.XXX/nextcloud/index.php/apps/maps/contacts
Uncaught SyntaxError: unexpected token: identifierdebugger eval code:1:4

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:
TypeError: OCA.Files.fileActions is undefined

and than (after pressing F8 - go further)


TypeError: e.slice is not a function
    mv mapUtils.js:64
    contactSearchData App.vue:473
    contactSearchData App.vue:467
    VueJS 3
        get
        evaluate
        Sn
    searchData App.vue:246
    VueJS 3
        get
        evaluate
        Sn
    WA App.vue:1
    VueJS 14
        _render
        a
        get
        run
        vn
        ot
        et
        promise callback*Je
        ot
        update
        update
        notify
        set
        set
    getContacts App.vue:950
    promise callback*getContacts network.js:43
    created App.vue:523
    VueJS 17
        Ve
        ln
        _init
        r
        componentInstance
        init
        d
        d
        _i
        _update
        a
        get
        An
        mount
        $mount
        _init
        Dn
    tb main.js:97
    restoreOptions optionsController.js:35

I do have the same behavior with Nextcloud 24.0.4 and Maps 0.2.1.

@tacruc
Copy link
Collaborator

tacruc commented Sep 8, 2022

Which Browser are you using?

@Kieltux
Copy link
Author

Kieltux commented Sep 8, 2022

Firefox ESR 102.2.0.
But I tried also Opera 90.0.4480.84, which is more or less Chrome 104.0.5112.102.

@tacruc
Copy link
Collaborator

tacruc commented Sep 9, 2022

The response is empty (unpatched maps 0.2.1 and with #849 applied):

Does it mean it is an empty json array '[]' or is it empty '' meaning 0byte

@Kieltux
Copy link
Author

Kieltux commented Sep 9, 2022

Meaning 0 byte.
I tried now to debug with Chrome 104.0.5112.102 the "TypeError: e.slice is not a function" exception:
Could this be the problem?

export const geoToLatLng = (geo) => { geo: "51.680961350000004;8.736613609429021"
	let ll
	const fourFirsts = geo.slice(0, 4)
	if (fourFirsts === 'geo:') {
		ll = geo.slice(4).split(',')
	} else {
		ll = geo.split(';')
	}
	return ll
}

Screenshot_20220909_070332

@tacruc
Copy link
Collaborator

tacruc commented Sep 9, 2022

I'm not shure, actully I'm a bit confused right now.
The response being empty implies that their are no contacts provided by the server. But as the proper response I would expect the server to provide an empty array and not an empty response.
This would point to an error somewhere in the backend.

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?

@Kieltux
Copy link
Author

Kieltux commented Sep 18, 2022

I needed some help with debugging in browser.

Yes, I get a JSON repsonse, sorry for the false information before.

[
   {
      "FN":"ST",
      "URI":"B769669F-F002-4094-8BA3-17D10CBB7B06.vcf",
      "UID":"05401e75-cb69-4ebf-863d-77094da72926",
      "ADR":";;XXX 99;XYZ;;12345;Germany",
      "ADRTYPE":"work",
      "HAS_PHOTO":true,
      "BOOKID":"32",
      "BOOKURI":"business-1",
      "GEO":"5X.xx;1X.xx",
      "GROUPS":null
   }
]

Log after navigated to https://xxx.yyy./nextcloud/index.php/apps/maps/

index.js:46 No OC found
Nr @ index.js:46
value @ gettext.js:45
(anonymous) @ l10n.js:3
(anonymous) @ main.js?v=4ba850b7-14:160
n @ bootstrap:19
(anonymous) @ main.js?v=4ba850b7-14:27
n @ bootstrap:19
(anonymous) @ main.js:1
(anonymous) @ main.js?v=4ba850b7-14:891
n @ bootstrap:19
(anonymous) @ bootstrap:83
(anonymous) @ main.js?v=4ba850b7-14:1
index.es.js:2337 Proxying an event bus of version 2.1.1 with 1.3.0
e @ index.es.js:2337
(anonymous) @ index.es.js:3314
(anonymous) @ main.js?v=4ba850b7-14:285
n @ bootstrap:19
(anonymous) @ requesttoken.js:11
n @ bootstrap:19
(anonymous) @ index.js:25
n @ bootstrap:19
(anonymous) @ main.js?v=4ba850b7-14:776
n @ bootstrap:19
(anonymous) @ main.js?v=4ba850b7-14:1336
n @ bootstrap:19
(anonymous) @ main.js:1
(anonymous) @ main.js?v=4ba850b7-14:891
n @ bootstrap:19
(anonymous) @ bootstrap:83
(anonymous) @ main.js?v=4ba850b7-14:1
jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 3.3.2
globals.js:62 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
ge @ globals.js:62
get @ globals.js:93
(anonymous) @ jquery.js:10336
(anonymous) @ jquery.js:28
0 @ jquery.js:14
n @ bootstrap:19
816 @ files_client.js?v=4ba850b7-14:64
n @ bootstrap:19
(anonymous) @ bootstrap:83
(anonymous) @ files_client.js?v=4ba850b7-14:1
globals.js:62 $ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
ge @ globals.js:62
get @ globals.js:93
(anonymous) @ jquery.js:10339
(anonymous) @ jquery.js:28
0 @ jquery.js:14
n @ bootstrap:19
816 @ files_client.js?v=4ba850b7-14:64
n @ bootstrap:19
(anonymous) @ bootstrap:83
(anonymous) @ files_client.js?v=4ba850b7-14:1
index.es.js:2337 Proxying an event bus of version 2.1.1 with 1.3.0
t @ index.es.js:2337
70903 @ index.es.js:3314
r @ bootstrap:19
71894 @ requesttoken.js:11
r @ bootstrap:19
22200 @ index.js:25
r @ bootstrap:19
(anonymous) @ Avatar.js:24
n @ Avatar.js:1
(anonymous) @ Avatar.js:150
n @ Avatar.js:1
(anonymous) @ Avatar.js:1
28017 @ Avatar.js:1
r @ bootstrap:19
(anonymous) @ Office.vue?vue&type=template&id=336515fe&:1
(anonymous) @ viewer.js:63
(anonymous) @ viewer.js:63
globals.js:62 oc_appswebroots is deprecated: use OC.appswebroots instead, this will be removed in Nextcloud 20
ge @ globals.js:62
get @ globals.js:93
74411 @ mime.js:51
o @ bootstrap:19
(anonymous) @ text-viewer.js?v=4ba850b7-14:2
(anonymous) @ text-viewer.js?v=4ba850b7-14:2
(anonymous) @ text-viewer.js?v=4ba850b7-14:2
index.es.js:2337 Proxying an event bus of version 2.1.1 with 1.3.0
e @ index.es.js:2337
903 @ index.es.js:3314
r @ bootstrap:19
1894 @ requesttoken.js:11
r @ bootstrap:19
2200 @ index.js:25
r @ bootstrap:19
4820 @ index.js:14
r @ bootstrap:19
(anonymous) @ viewer-main.js?v=4ba850b7-14:2
(anonymous) @ viewer-main.js?v=4ba850b7-14:2
(anonymous) @ viewer-main.js?v=4ba850b7-14:2
globals.js:62 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
ge @ globals.js:62
get @ globals.js:93
(anonymous) @ script.js?v=4ba850b7-14:492
globals.js:62 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
ge @ globals.js:62
get @ globals.js:93
(anonymous) @ files.js?v=4ba850b7-14:122
index.es.js:2337 Proxying an event bus of version 2.1.1 with 1.3.0
t @ index.es.js:2337
70903 @ index.es.js:3314
a @ bootstrap:19
71894 @ requesttoken.js:11
a @ bootstrap:19
22200 @ index.js:25
a @ bootstrap:19
4820 @ index.js:12
a @ bootstrap:19
(anonymous) @ notifications-main.js?v=4ba850b7-14:2
(anonymous) @ notifications-main.js?v=4ba850b7-14:2
(anonymous) @ notifications-main.js?v=4ba850b7-14:2
globals.js:62 $ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
ge @ globals.js:62
get @ globals.js:93
mounted @ App.vue:144
qt @ vue.runtime.esm.js:1863
ln @ vue.runtime.esm.js:4235
insert @ vue.runtime.esm.js:3158
L @ vue.runtime.esm.js:6390
ya.nodeOps @ vue.runtime.esm.js:6609
t._update @ vue.runtime.esm.js:3960
r @ vue.runtime.esm.js:4081
bn.get @ vue.runtime.esm.js:4495
bn @ vue.runtime.esm.js:4484
t @ vue.runtime.esm.js:4088
En.$mount @ vue.runtime.esm.js:8459
t._init @ vue.runtime.esm.js:5032
En @ vue.runtime.esm.js:5099
(anonymous) @ main.js:32
(anonymous) @ notifications-main.js?v=4ba850b7-14:2
(anonymous) @ notifications-main.js?v=4ba850b7-14:2
globals.js:62 $ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
ge @ globals.js:62
get @ globals.js:93
mounted @ App.vue:150
qt @ vue.runtime.esm.js:1863
ln @ vue.runtime.esm.js:4235
insert @ vue.runtime.esm.js:3158
L @ vue.runtime.esm.js:6390
ya.nodeOps @ vue.runtime.esm.js:6609
t._update @ vue.runtime.esm.js:3960
r @ vue.runtime.esm.js:4081
bn.get @ vue.runtime.esm.js:4495
bn @ vue.runtime.esm.js:4484
t @ vue.runtime.esm.js:4088
En.$mount @ vue.runtime.esm.js:8459
t._init @ vue.runtime.esm.js:5032
En @ vue.runtime.esm.js:5099
(anonymous) @ main.js:32
(anonymous) @ notifications-main.js?v=4ba850b7-14:2
(anonymous) @ notifications-main.js?v=4ba850b7-14:2
globals.js:62 $ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
ge @ globals.js:62
get @ globals.js:93
mounted @ App.vue:150
qt @ vue.runtime.esm.js:1863
ln @ vue.runtime.esm.js:4235
insert @ vue.runtime.esm.js:3158
L @ vue.runtime.esm.js:6390
ya.nodeOps @ vue.runtime.esm.js:6609
t._update @ vue.runtime.esm.js:3960
r @ vue.runtime.esm.js:4081
bn.get @ vue.runtime.esm.js:4495
bn @ vue.runtime.esm.js:4484
t @ vue.runtime.esm.js:4088
En.$mount @ vue.runtime.esm.js:8459
t._init @ vue.runtime.esm.js:5032
En @ vue.runtime.esm.js:5099
(anonymous) @ main.js:32
(anonymous) @ notifications-main.js?v=4ba850b7-14:2
(anonymous) @ notifications-main.js?v=4ba850b7-14:2
index.es.js:2337 Proxying an event bus of version 2.1.1 with 1.3.0
e @ index.es.js:2337
(anonymous) @ index.es.js:3314
(anonymous) @ user-status-menu.js?v=4ba850b7-14:488
r @ bootstrap:63
(anonymous) @ requesttoken.js:11
r @ bootstrap:63
(anonymous) @ index.js:25
r @ bootstrap:63
(anonymous) @ user-status-menu.js?v=4ba850b7-14:538
r @ bootstrap:63
(anonymous) @ bootstrap:198
(anonymous) @ user-status-menu.js?v=4ba850b7-14:1
index.esm.js:11 Proxying an event bus of version 2.1.1 with 3.0.0
Em @ index.esm.js:11
(anonymous) @ index.esm.js:59
(anonymous) @ main.js:95
(anonymous) @ main.js:95
index.es.js:2337 Proxying an event bus of version 2.1.1 with 1.3.0
e @ index.es.js:2337
51499 @ index.es.js:3314
a @ bootstrap:19
21115 @ requesttoken.js:11
a @ bootstrap:19
62021 @ index.js:25
a @ bootstrap:19
3607 @ Multiselect.js:2
i @ Multiselect.js:2
3351 @ Multiselect.js:2
i @ Multiselect.js:2
4430 @ Multiselect.js:2
i @ Multiselect.js:2
9378 @ Multiselect.js:2
i @ Multiselect.js:2
(anonymous) @ Multiselect.js:2
(anonymous) @ Multiselect.js:2
7811 @ Multiselect.js:2
a @ bootstrap:19
(anonymous) @ SearchControl.vue?vue&type=template&id=4131190e&scoped=true&:1
(anonymous) @ main.js:95
(anonymous) @ main.js:95
globals.js:62 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
ge @ globals.js:62
get @ globals.js:93
(anonymous) @ ua-parser.js:858
42238 @ ua-parser.js:11
a @ bootstrap:19
(anonymous) @ network.js:288
(anonymous) @ main.js:95
(anonymous) @ main.js:95
index.es.js:2337 Proxying an event bus of version 2.1.1 with 1.3.0
e @ index.es.js:2337
(anonymous) @ index.es.js:3314
(anonymous) @ unified-search.js?v=4ba850b7-14:7
n @ bootstrap:19
(anonymous) @ requesttoken.js:11
n @ bootstrap:19
(anonymous) @ index.js:25
n @ bootstrap:19
(anonymous) @ LoggerBuilder.js:8
n @ bootstrap:19
(anonymous) @ index.js:11
n @ bootstrap:19
(anonymous) @ unified-search.js?v=4ba850b7-14:265
n @ bootstrap:19
(anonymous) @ bootstrap:83
(anonymous) @ unified-search.js?v=4ba850b7-14:1
session-heartbeat.js:101 session heartbeat polling started
Viewer.vue:263 Please do NOT wait for the DOMContentLoaded before registering your viewer handler
handlers @ Viewer.vue:263
We @ vue.runtime.esm.js:1863
bn.run @ vue.runtime.esm.js:4584
yn @ vue.runtime.esm.js:4326
(anonymous) @ vue.runtime.esm.js:1989
et @ vue.runtime.esm.js:1915
Promise.then (async)
Xe @ vue.runtime.esm.js:1942
at @ vue.runtime.esm.js:1999
(anonymous) @ vue.runtime.esm.js:4418
bn.update @ vue.runtime.esm.js:4560
de.notify @ vue.runtime.esm.js:730
(anonymous) @ vue.runtime.esm.js:882
value @ Viewer.js:70
(anonymous) @ main.js:26
capabilities.js:35 OC.getCapabilities is deprecated and will be removed in Nextcloud 21. See @nextcloud/capabilities
getCapabilities @ capabilities.js:35
(anonymous) @ viewer.js:45
capabilities.js:35 OC.getCapabilities is deprecated and will be removed in Nextcloud 21. See @nextcloud/capabilities
getCapabilities @ capabilities.js:35
(anonymous) @ viewer.js:46
capabilities.js:35 OC.getCapabilities is deprecated and will be removed in Nextcloud 21. See @nextcloud/capabilities
getCapabilities @ capabilities.js:35
(anonymous) @ viewer.js:47
viewer.js:63 Uncaught TypeError: Cannot read properties of undefined (reading 'registerAction')
    at viewer.js:63:26
(anonymous) @ viewer.js:63
Viewer.vue:263 Please do NOT wait for the DOMContentLoaded before registering your viewer handler
handlers @ Viewer.vue:263
We @ vue.runtime.esm.js:1863
bn.run @ vue.runtime.esm.js:4584
yn @ vue.runtime.esm.js:4326
(anonymous) @ vue.runtime.esm.js:1989
et @ vue.runtime.esm.js:1915
Promise.then (async)
Xe @ vue.runtime.esm.js:1942
at @ vue.runtime.esm.js:1999
(anonymous) @ vue.runtime.esm.js:4418
bn.update @ vue.runtime.esm.js:4560
de.notify @ vue.runtime.esm.js:730
(anonymous) @ vue.runtime.esm.js:882
value @ Viewer.js:70
(anonymous) @ viewer.js:33
globals.js:62 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
ge @ globals.js:62
get @ globals.js:93
updateTopMenu @ script?v=17:276
setTimeout (async)
(anonymous) @ script?v=17:340
(anonymous) @ script?v=17:353
globals.js:62 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
ge @ globals.js:62
get @ globals.js:93
updateTopMenu @ script?v=17:277
setTimeout (async)
(anonymous) @ script?v=17:340
(anonymous) @ script?v=17:353
globals.js:62 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
ge @ globals.js:62
get @ globals.js:93
updateTopMenu @ script?v=17:276
setTimeout (async)
(anonymous) @ script?v=17:340
(anonymous) @ script?v=17:353
globals.js:62 jQuery is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.
ge @ globals.js:62
get @ globals.js:93
updateTopMenu @ script?v=17:277
setTimeout (async)
(anonymous) @ script?v=17:340
(anonymous) @ script?v=17:353
vue.runtime.esm.js:1897 TypeError: e.slice is not a function
    at mv (mapUtils.js:63:25)
    at App.vue:473:24
    at Array.map (<anonymous>)
    at r.contactSearchData (App.vue:467:21)
    at An.get (vue.runtime.esm.js:4495:25)
    at An.evaluate (vue.runtime.esm.js:4597:21)
    at r.contactSearchData (vue.runtime.esm.js:4851:17)
    at r.searchData (App.vue:371:13)
    at An.get (vue.runtime.esm.js:4495:25)
    at An.evaluate (vue.runtime.esm.js:4597:21)

@Kieltux
Copy link
Author

Kieltux commented Sep 18, 2022

Ok, long sunday afternoon... :-)
The country code is the problem.
If I create a new contact, it works (contact will be shown on maps) with a country code e.g. USA or Germany or Deutschland.
If I remove the country code (Germany, Deutschland, ... ) from the contact, it will be shown on maps.
If the imported contact (from KDE PIM -> Export via VCS 3.0) does have "Germany" in the field "Land" (-> Country) the contact is not on maps.
If I change it to "Deutschland" it may occur on maps.
If I remove it completely (Land -> Country) it will occur in 100% of my contacts.

I hope this will help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants