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

Adresses do not show #1864

Closed
sciurius opened this issue Oct 19, 2020 · 17 comments
Closed

Adresses do not show #1864

sciurius opened this issue Oct 19, 2020 · 17 comments
Labels
bug Something isn't working duplicate This issue or pull request already exists regression Regression of a previous working feature

Comments

@sciurius
Copy link

Describe the bug

On the contacts page, addresses for entries are not shown.
......
......

To Reproduce
Steps to reproduce the behavior:

  1. Select any contact
  2. No address is shown

Expected behavior
The address should be shown

Actual behavior
See screenshot.

Screenshots
scrot20201019083837

Attachments
Attached is the ics as downloaded from the contacts app. As you can see, the ADR information is there.
889a7409-18fd-4737-bbb9-fe6e38ffd8d6.txt

Server configuration

Operating system: Linux (Raspbian 10)

Web server: Nginx

Database: PostgreSQL

PHP version: 7.3.14

Nextcloud version: 20.0.0

Contacts version: 3.4.0

Updated from an older Nextcloud or fresh install: Updated

Browser: Firefox 81.0.1

@sciurius sciurius added 0. Needs triage bug Something isn't working labels Oct 19, 2020
@skjnldsv
Copy link
Member

Hello!
I will need your browser console log to investigate this issue.
Open your console, reload your page and/or do the action leading to this issue and copy/paste the log in this thread.

How to access your browser console (Click to expand)

Chrome

  • Press either CTRL + SHIFT + J to open the “console” tab of the Developer Tools.
  • Alternative method:
    1. Press either CTRL + SHIFT + I or F12 to open the Developer Tools.
    2. Click the “console” tab.

Safari

  • Press CMD + ALT + I to open the Web Inspector.
  • See Chrome’s step 2. (Chrome and Safari have pretty much identical dev tools.)

IE9

  1. Press F12 to open the developer tools.
  2. Click the “console” tab.

Firefox

  • Press CTRL + SHIFT + K to open the Web console (COMMAND + SHIFT + K on Macs).
  • or, if Firebug is installed (recommended):
    1. Press F12 to open Firebug.
    2. Click on the “console” tab.

Opera

  1. Press CTRL + SHIFT + I to open Dragonfly.
  2. Click on the “console” tab.

@skjnldsv skjnldsv added the needs info Not enough information provided label Oct 19, 2020
@sciurius
Copy link
Author

Something like this?

GEThttps://cloud.squirrel.nl/apps/contacts/Not%20grouped/el2todnx-8bjs-d2xx-sltk-j81r60yumccu~addresses
[HTTP/2 200 OK 2174ms]

GEThttps://cloud.squirrel.nl/apps/user_status/img/app.svg?v=fa956741
[HTTP/2 304 Not Modified 1ms]

GEThttps://cloud.squirrel.nl/core/js/dist/main.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/core/js/dist/files_fileinfo.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/core/js/dist/files_client.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/js/core/merged-template-prepend.js?v=fa956741-0
[HTTP/2 200 OK 0ms]

GEThttps://cloud.squirrel.nl/core/l10n/en_GB.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/accessibility/l10n/en_GB.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/accessibility/js/accessibilityoca.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/files_pdfviewer/js/files_pdfviewer-public.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/files_sharing/l10n/en_GB.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/files_sharing/js/dist/main.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/files_videoplayer/js/main.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/notifications/l10n/en_GB.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/notifications/js/notifications-main.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/contacts/l10n/en_GB.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/contacts/js/contacts-main.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/files_rightclick/l10n/en_GB.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/files_rightclick/js/script.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/files_rightclick/js/files.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/firstrunwizard/l10n/en_GB.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/firstrunwizard/js/about.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/theming/l10n/en_GB.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/theming/js/theming.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/user_status/js/user-status-menu.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/core/js/dist/unified-search.js?v=fa956741-0
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/files/img/app.svg?v=fa956741
[HTTP/2 304 Not Modified 1ms]

GEThttps://cloud.squirrel.nl/apps/photos/img/app.svg?v=fa956741
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/activity/img/activity.svg?v=fa956741
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/contacts/img/app.svg?v=fa956741
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/calendar/img/calendar.svg?v=fa956741
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/tasks/img/tasks.svg?v=fa956741
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/notes/img/notes.svg?v=fa956741
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/settings/img/admin.svg?v=fa956741
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/settings/img/apps.svg?v=fa956741
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/firstrunwizard/img/info.svg?v=fa956741
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/settings/img/users.svg?v=fa956741
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/apps/settings/img/help.svg?v=fa956741
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/core/img/actions/logout.svg?v=fa956741
[HTTP/2 304 Not Modified 0ms]

GEThttps://cloud.squirrel.nl/avatar/jv/32?v=2
[HTTP/2 304 Not Modified 1910ms]

No OC found index.js:46:12
JQMIGRATE: Migrate is installed, version 1.4.1 jquery-migrate.min.js:2:551
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. globals.js:60:15
$ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 4 globals.js:60:15
Notifications permissions granted App.vue:296
GEThttps://cloud.squirrel.nl/apps/notifications/img/notifications-new.svg

GEThttps://cloud.squirrel.nl/apps/notifications/img/notifications.svg
[HTTP/2 304 Not Modified 1ms]

jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 3 globals.js:60:15
Initial state loaded defaultProfileState HOME rfcProps.js:39:8
Initial state loaded localesState 
Array(750) [ {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, {…}, … ]
rfcProps.js:40:8
OCA.Search is deprecated. Please use the unified search API instead search.js:31:10
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 2 globals.js:60:15
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 4 globals.js:60:15
session heartbeat polling started session-heartbeat.js:97:9
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 145 globals.js:60:15
GEThttps://cloud.squirrel.nl/core/img/favicon-touch.png
[HTTP/2 200 OK 0ms]

GEThttps://cloud.squirrel.nl/core/img/favicon.ico
[HTTP/2 200 OK 0ms]

[DEBUG] unified-search: Unified Search initialized with the following providers 
Object { 0: {…}, 1: {…}, 2: {…}, 3: {…}, 4: {…}, 5: {…}, 6: {…}, 7: {…}, app: "unified-search", uid: "jv" }
ConsoleLogger.js:42:18
Connected to dav! 
Object { rootUrl: "https://cloud.squirrel.nl/remote.php/dav/", advertisedFeatures: (17) […], currentUserPrincipal: {…}, principalCollections: (4) […], calendarHomes: [], publicCalendarHome: {…}, addressBookHomes: (1) […], parser: {…}, _isConnected: true, _request: {…} }
Contacts.vue:472
String.prototype.toRgb is deprecated! It will be removed in Nextcloud 22. 8 placeholder.js:140:9
GEThttps://cloud.squirrel.nl/remote.php/dav/addressbooks/users/jv/addresses/dee32c9a-b7c1-4ef0-b30d-5653b0dbd95a.vcf?photo
[HTTP/2 304 Not Modified 238ms]

jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 8 globals.js:60:15
String.prototype.toRgb is deprecated! It will be removed in Nextcloud 22. 2 placeholder.js:140:9
OC.Util.relativeModifiedDate is deprecated and will be removed in Nextcloud 21. See @nextcloud/moment util.js:130:10
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 204 globals.js:60:15
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 4 globals.js:60:15
OC.requestToken changed lmGTqFFZSvy4uvgxotCtTp19OcVNszyNayumWvhL0Bk=:/yX9kBwXHtPx7ZJQm5jJIM0RVbMI6wnjElnDYsF5sUk= index.js:311:9
OC.requestToken changed oh8kzCTen/iFuglATdiFx3IYvBONbdtlpbZQyYn9QHo=:y1tK9GmQy9fM7WMhdJDhqSJ00GXINe4L3MQ18bDPISo= index.js:311:9
OC.requestToken changed HUEAO+2kcYuwwpfTYsjt9kYn49xh6+9QW3ioenMLkwU=:dAVuA6DqJaT5lf2yW4CJmBZLj6oks9o+IgrNQko58lU= index.js:311:9
OC.requestToken changed gJ/TP5h0J4+yXWawUAlRg6zBpLdkZxVX4Yc3WxCa/go=:6du9B9U6c6D7CgzRaUE17fytyMEhPyA5mPVSYymon1o= index.js:311:9
OC.requestToken changed qG0n0dQdpE/TaoKd9h/gSdSwajrrHso22d/Nxi+qlMo=:wSlJ6ZlT8GCaPej8z1eEJ4TcBkyuRv9YoK2o/haY9Zo= index.js:311:9
OC.requestToken changed nzdrZ1c8kHKZAaX7vO+nkNOXhaC/HjdGhuH9UvOOg1M=:9nMFXxpyxF3QVs+ahafD/oP76db6RgIo/5OYasq84gM= index.js:311:9
OC.requestToken changed LEm5gFbsF1kMmmiNSrjonNCt95xuSbFVRwIR4qI+MA4=:RQ3XuBuiQ3ZFzQLsc/CM8oDBm+orEYQ7PnB02psMUV4= index.js:311:9
jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own. 24 globals.js:60:15

@skjnldsv
Copy link
Member

Yes :)
You opened the contact right?

@sciurius
Copy link
Author

I Control-R-ed the page.
Is there anything else I can do?

@sciurius
Copy link
Author

Did I mention that the problem is with all address entries?

@skjnldsv
Copy link
Member

I'll release a new version today that had some fixes, i'll let you try it and see if that solves it :)

@sciurius
Copy link
Author

Great, thank you!

@skjnldsv
Copy link
Member

Released! Please test 3.4.1 :)

@sciurius
Copy link
Author

Sorry, no change. Still no addresses :( .

@skjnldsv
Copy link
Member

Sorry, no change. Still no addresses :( .

Thanks for the checks :)
Il investigate!

@call-me-matt
Copy link
Member

call-me-matt commented Oct 20, 2020

I have the same error. Fields where I can set the type vanish as soon as its not a value from the drop-down menu. Maybe that's the case here, too?
To reproduce, insert any text into a type field of address, telephone, social profile or likewise.
@sciurius do you see the address fields when you add a new one on the contacts webpage?

@sciurius
Copy link
Author

If I use the contacts app to add a new contact I do get the address shown.

Looking at the VCF (Jane Doe shows an address, while Joe Doe doesn't) is it appears to me that the main difference is the use of attribute grouping (ITEM0.ADR versus ADR).

jane.vcf.txt
joe.vcf.txt

@sciurius
Copy link
Author

A contacts app that doesn't show addresses is severly crippled (a.k.a. useless).
Please raise the priority on this issue.

@skjnldsv skjnldsv added 1. to develop Accepted and waiting to be taken care of high High priority regression Regression of a previous working feature and removed 0. Needs triage needs info Not enough information provided labels Oct 25, 2020
@skjnldsv
Copy link
Member

Ah no, duplicate of #1842

@skjnldsv skjnldsv added duplicate This issue or pull request already exists and removed 1. to develop Accepted and waiting to be taken care of high High priority labels Oct 25, 2020
@MiFiWe
Copy link

MiFiWe commented Feb 5, 2021

I’m a newbie on Nextcloud but experienced the same problem. iPhone, iPad and Mac (all latest software 2021) showing same data, which can be successfully changed, but any Browser (Safari, Chrome, Internet Explorer) does not show addresses. If the address fields are added manually, it’ll be shown on a iOS device as additional address fields. Once the additional addresses are changed or altered, the address are not shown at all on a internet browser.
Would be great if someone can fix that.

@Sailing74
Copy link

I have the same error since updating from Nextcloud 19 to Nextcloud 20.0.8. Anything I can do to help find the problem and fix it?

@sciurius
Copy link
Author

See issue #1842.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists regression Regression of a previous working feature
Projects
None yet
Development

No branches or pull requests

5 participants