nextcloud / nextcloud/deck

After sharing a file with a Deck card and clicking "Update share", a toast error appears: `Invalid share attributes provided: ''`

Open
#6,964 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: sharing integration
Dominant language
JavaScript
Stars
1.4k
Forks
354
Avg merge
1d 10h
Merged PRs (30d)
43

Description

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.

Describe the bug
After sharing a file with a Deck card and clicking "Update share", a toast error appears:
Invalid share attributes provided: ''

To Reproduce
Steps to reproduce the behavior:

  1. Go to Files
  2. Select a file
  3. Go to the "Sharing" tab
  4. Click on "Share with a Deck card"
  5. Select a panel
  6. Select a card
  7. Click on "Link to card"
  8. Click on "Update share"
  9. See the error toast

Expected behavior
No error message should appear after linking a card and updating the share.

Screenshots
Image

Client details:

  • OS: Mint linux
  • Browser: Chroome
  • Version: 134
  • Device: desktop
Server details

Operating system: Debian linux

Web server: Apache

Database: MariaDB

PHP version: 8.3

Nextcloud version: 30.0.10.1

Where did you install Nextcloud from: git, branch stable30

Signing status:

Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.

List of activated apps:

Enabled:
  - activity: 3.0.0
  - calendar: 5.1.3
  - calendar_resource_management: 0.9.0
  - cloud_federation_api: 1.13.0
  - comments: 1.20.1
  - contacts: 7.0.6
  - contactsinteraction: 1.11.0
  - dashboard: 7.10.0
  - dav: 1.31.1
  - deck: 1.14.4
  - federatedfilesharing: 1.20.0
  - files: 2.2.0
  - files_pdfviewer: 3.0.0
  - files_reminders: 1.3.0
  - files_sharing: 1.22.0
  - files_trashbin: 1.20.1
  - jitsi: 0.19.0
  - logreader: 3.0.0
  - lookup_server_connector: 1.18.0
  - notifications: 3.0.0
  - oauth2: 1.18.1
  - provisioning_api: 1.20.0
  - settings: 1.13.0
  - sharebymail: 1.20.0
  - snappymail: 2.38.2
  - spreed: 20.1.6
  - systemtags: 1.20.0
  - tasks: 0.16.1
  - theming: 2.6.0
  - theming_customcss: 1.17.0
  - twofactor_backupcodes: 1.19.0
  - twofactor_totp: 12.0.0-dev
  - updatenotification: 1.20.0
  - user_external: 3.4.0
  - user_status: 1.10.0
  - viewer: 3.0.0
  - weather_status: 1.10.0
  - webhook_listeners: 1.1.0-dev
Disabled:
  - admin_audit: 1.20.0
  - encryption: 2.18.0
  - federation: 1.20.0 (installed 1.19.0)
  - files_external: 1.22.0
  - files_versions: 1.23.0 (installed 1.22.0)
  - notify_push: 0.7.0
  - testing: 1.20.0
  - user_ldap: 1.21.0
  - user_migration: 7.0.1
  - workflowengine: 2.12.0

Nextcloud configuration:

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "log_type": "file",
        "logfile": "\/var\/log\/groupware\/groupware_s4.log",
        "loglevel": 0,
        "logdateformat": "F d, Y H:i:s",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "default_language": "pt",
        "default_locale": "pt_BR",
        "dbtype": "mysql",
        "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,
        "allow_local_remote_servers": true,
        "lost_password_link": "disabled",
        "simpleSignUpLink.shown": false,
        "updater.release.channel": "git",
        "upgrade.disable-web": true,
        "updatechecker": false,
        "has_internet_connection": false,
        "trashbin_retention_obligation": "auto,10",
        "knowledgebaseenabled": false,
        "profile.enabled": false,
        "allow_user_to_change_display_name": false,
        "auth.bruteforce.protection.enabled": false,
        "activity_expire_days": 30,
        "app.mail.verify-tls-peer": false,
        "auth.webauthn.enabled": false,
        "overwriteprotocol": "https",
        "appstoreenabled": false,
        "user_backends": [
            {
                "class": "\\OCA\\UserExternal\\IMAP",
                "arguments": [
                    "127.0.0.1",
                    143,
                    null,
                    null,
                    false,
                    false
                ]
            }
        ],
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": "0",
            "password": "***REMOVED SENSITIVE VALUE***",
            "dbindex": 0,
            "timeout": 1.5,
            "read_timeout": 1.5
        },
        "memcached_server": [
            "localhost",
            "\/tmp\/memcached.sock"
        ],
        "theme": "",
        "trusted_domains": [
            "localhost",
            "devlucas.internetcontrolada.com"
        ],
        "mail_smtpmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpauth": true,
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpstreamoptions": {
            "ssl": {
                "allow_self_signed": true,
                "verify_peer": false,
                "verify_peer_name": false
            }
        },
        "version": "30.0.10.1",
        "maintenance": false,
        "session_lifetime": "86400",
        "remember_login_cookie_lifetime": "86400",
        "debug": true
    }
}

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

Logs
Nextcloud log (data/nextcloud.log)
Insert your Nextcloud log here
Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
Image

b) The network log
Image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Reproduce the sharing flow in the Deck sharing tab, then inspect the browser and network logs around “Update share” to identify the failing entry point; done means linking the card completes without the invalid share attributes toast.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, mariadb, php
Domain
full-stack
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.