nextcloud / contacts

📇 Contacts app for Nextcloud
https://apps.nextcloud.com/apps/contacts
GNU Affero General Public License v3.0
564 stars 169 forks source link

Downloading a group of contacts does not work on FF #805

Closed violoncelloCH closed 5 years ago

violoncelloCH commented 5 years ago

Describe the bug

Downloading a group of contacts / whole contact group does not work.

To Reproduce

  1. klick on the download icon on a contact group
  2. nothing happens

Expected behavior a vcf with all contacts of this group should be downloaded

Actual behavior nothing happens

Screenshots image

Server configuration

Operating system: Linux

Web server: Apache

Database: MariaDB

PHP version: 7.2

Nextcloud version: 15.0.0

Contacts version: 3.0.1

Signing status:

No errors have been found.

Client configuration

Browser: Firefox 64.0

Operating system: Win 10 / Ubuntu 18.10

nextcloud-bot commented 5 years ago

GitMate.io thinks possibly related issues are https://github.com/nextcloud/contacts/issues/451 (Contacts ⭐️ does not work), https://github.com/nextcloud/contacts/issues/39 (Currently not possible to download group of contacts.), https://github.com/nextcloud/contacts/issues/207 (Creating a contact in a group does not work), https://github.com/nextcloud/contacts/issues/447 (Contacts doesn't work at all...), and https://github.com/nextcloud/contacts/issues/505 (Contact sorting still doesn't work as expected).

skjnldsv commented 5 years ago

@violoncelloCH any error in the console? It works here for me on chromium! :) But on FF I have a "Strict-Transport-Security: The connection to the site is untrustworthy, so the specified header was ignored"

PS: not a regression, this feature did not existed on the previous version.

violoncelloCH commented 5 years ago

ah, now I get something in the console:

JQMIGRATE: Migrate is installed, version 1.4.0 core.js:7:542
New search handler registered search.js:67:4
Connected to dav! 
Object { rootUrl: Getter & Setter, advertisedFeatures: Getter & Setter, currentUserPrincipal: Getter & Setter, principalCollections: Getter & Setter, calendarHomes: Getter & Setter, addressBookHomes: Getter & Setter, parser: Getter & Setter, _isConnected: Getter & Setter, _request: Getter & Setter, … }
contacts.js:84:29413
This contact did not have a proper uid. Setting a new one for  
Object { jCal: Getter & Setter, addressbook: Getter & Setter, vCard: Getter & Setter, conflict: Getter & Setter, dav: Getter & Setter, … }
contacts.js:63:429
Source-Map-Fehler: request failed with status 401
Ressourcen-Adresse: https://cloud.example.com/apps/contacts/js/contacts.js?v=00453fcb-34
Source-Map-Adresse: contacts.js.map

is it FF specific?

Ah, sorry, I thought it had worked before.

markuswochnik commented 5 years ago

i can confirm this problem too. Chrome 71.0.3578.98 (64-Bit) everything works fine.

Firefox 64.0 in the console i get output

Content Security Policy: Die Einstellungen der Seite haben das Laden einer Ressource auf inline blockiert ("script-src").
contacts:1:1
JQMIGRATE: Migrate is installed, version 1.4.0 core.js:7:542
New search handler registered search.js:67:4
Connected to dav! 
Object { rootUrl: "https://123/remote.php/dav/", advertisedFeatures: (17) […], currentUserPrincipal: {…}, principalCollections: (4) […], calendarHomes: [], addressBookHomes: (1) […], parser: {…}, _isConnected: true, _request: {…} }
contacts.js:84:29413
Source-Map-Fehler: TypeError: NetworkError when attempting to fetch resource.
Ressourcen-Adresse: moz-extension://8d0a3dbe-80be-4f1b-a946-11d559872864/browser-polyfill.min.js
Source-Map-Adresse: browser-polyfill.min.js.map[Weitere Informationen]
Source-Map-Fehler: TypeError: NetworkError when attempting to fetch resource.
Ressourcen-Adresse: https://123/apps/notifications/js/notifications.js?v=f14a8308-24
Source-Map-Adresse: notifications.js.map[Weitere Informationen]
Source-Map-Fehler: TypeError: NetworkError when attempting to fetch resource.
Ressourcen-Adresse: https:://123/apps/contacts/js/contacts.js?v=f14a8308-24
Source-Map-Adresse: contacts.js.map[Weitere Informationen]