Skip to content

Javascript error in settings.js function setupGroupsSelect() #20619

@iandavidwild

Description

@iandavidwild

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. Create two groups. One groups should allow sharing but the other not.
  2. Navigate to .../settings/admin/sharing
  3. Under the "Sharing" heading, click on "Exclude groups from sharing".

Expected behaviour

A drop down menu listing the available groups should be displayed. Groups can be selected from this list.

Actual behaviour

A text box is revealed but no drop down menu. Please see Chrome Developer Tools screen grab below for details on the actual JavaScript error.

Server configuration

Operating system: Ubuntu 18.04 LTS

Web server: Apache

Database: MySQL 5.7.29

PHP version: 7.3.16

Nextcloud version: 17.0.5

Updated from an older Nextcloud/ownCloud or fresh install: Updated from 17.0.4

Where did you install Nextcloud from: Snap package

Signing status:

Signing status No errors have been found.

List of activated apps:

App list Enabled: - accessibility: 1.3.0 - activity: 2.10.1 - admin_audit: 1.7.0 - calendar: 2.0.3 - cloud_federation_api: 1.0.0 - comments: 1.7.0 - contacts: 3.3.0 - data_request: 1.4.0 - dav: 1.13.0 - encryption: 2.5.0 - federatedfilesharing: 1.7.0 - federation: 1.7.0 - files: 1.12.0 - files_pdfviewer: 1.6.0 - files_rightclick: 0.15.1 - files_sharing: 1.9.0 - files_trashbin: 1.7.0 - files_versions: 1.10.0 - files_videoplayer: 1.6.0 - firstrunwizard: 2.6.0 - logreader: 2.2.0 - lookup_server_connector: 1.5.0 - nextcloud_announcements: 1.6.0 - notifications: 2.5.0 - oauth2: 1.5.0 - password_policy: 1.7.0 - privacy: 1.1.0 - provisioning_api: 1.7.0 - recommendations: 0.5.0 - serverinfo: 1.7.0 - sharebymail: 1.7.0 - spreed: 7.0.3 - support: 1.0.1 - survey_client: 1.5.0 - systemtags: 1.7.0 - terms_of_service: 1.3.1 - text: 1.1.1 - theming: 1.8.0 - twofactor_backupcodes: 1.6.0 - viewer: 1.2.0 - workflowengine: 1.7.0 Disabled: - files_external - gallery - mail - user_ldap

Nextcloud configuration:

Config report { "system": { "apps_paths": [ { "path": "\/snap\/nextcloud\/current\/htdocs\/apps", "url": "\/apps", "writable": false }, { "path": "\/var\/snap\/nextcloud\/current\/nextcloud\/extra-apps", "url": "\/extra-apps", "writable": true } ], "supportedDatabases": [ "mysql" ], "memcache.locking": "\\OC\\Memcache\\Redis", "memcache.local": "\\OC\\Memcache\\Redis", "redis": { "host": "***REMOVED SENSITIVE VALUE***", "port": 0 }, "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "localhost", "cloud.deightonbowie.co.uk" ], "datadirectory": "***REMOVED SENSITIVE VALUE***", "skeletondirectory": "", "dbtype": "mysql", "version": "17.0.5.0", "overwrite.cli.url": "http:\/\/localhost", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "mysql.utf8mb4": true, "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "instanceid": "***REMOVED SENSITIVE VALUE***", "maintenance": false, "theme": "", "logfile": "\/var\/log\/nextcloud.log", "loglevel": 2, "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_sendmailmode": "smtp", "mail_smtpsecure": "ssl", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_smtpauth": 1, "mail_smtpauthtype": "LOGIN", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "465", "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***" } }

Are you using external storage, if yes which one: None

Are you using encryption: Yes

Are you using an external user-backend, if yes which one: None

Client configuration

Browser: Chrome 81.0.4044.122

Operating system: Windows 10

Logs

Browser log

Browser log ![setupGroupsSelect_js_error](https://user-images.githubusercontent.com/2386283/80100427-df239c00-8567-11ea-86ff-bfcafbcbcf07.jpg)

Metadata

Metadata

Assignees

No one assigned

    Labels

    0. Needs triagePending check for reproducibility or if it fits our roadmapbug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions