nextcloud / nextcloud/deck

[Bug]: occ deck transfer-ownership not working

Open
#4,212 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage bug
Dominant language
JavaScript
Stars
1.4k
Forks
354
Avg merge
1d 10h
Merged PRs (30d)
43

Description

⚠️ This issue respects the following points: ⚠️
  • This is a bug, not a question or a configuration/webserver/proxy issue.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • I agree to follow Nextcloud's Code of Conduct.
Bug description

Hello,
With nextcloud 25.0.1 the occ command transfer-ownship seems to work but ... not

Example:
occ $ deck:transfer-ownership -r user1 user1 102 (where 102 is the ID of deck board to transfer) gives:
[object Object]

No other info is given.
By the way, the deck is not transfered as wished

Steps to reproduce
  1. Create a template
  2. Run the occ command : deck:transfer-ownership user1 user1 id
  3. Test on nextcloud if deck has been transferred from user1 to user2
Expected behavior

Deck board moved from user1 deck to user2 deck

Installation method

Community Docker image

Operating system

Other

PHP engine version

PHP 8.1

Web server

Nginx

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Updated to a major version (ex. 22.2.3 to 23.0.1)

Are you using the Nextcloud Server Encryption module?

No response

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": [            "cloud.payerne.swiss"        ],        "datadirectory": "***REMOVED SENSITIVE VALUE***",        "dbtype": "mysql",        "version": "25.0.1.1",        "overwriteprotocol": "https",        "dbname": "***REMOVED SENSITIVE VALUE***",        "dbhost": "***REMOVED SENSITIVE VALUE***",        "dbport": "3306",        "dbtableprefix": "oc_",        "dbuser": "***REMOVED SENSITIVE VALUE***",        "dbpassword": "***REMOVED SENSITIVE VALUE***",        "installed": true,        "ldapIgnoreNamingRules": false,        "ldapProviderFactory": "\\OCA\\User_LDAP\\LDAPProviderFactory",        "mail_smtpmode": "smtp",        "mail_smtpauthtype": "NTLM",        "mail_from_address": "***REMOVED SENSITIVE VALUE***",        "mail_domain": "***REMOVED SENSITIVE VALUE***",        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",        "mail_smtpport": "587",        "default_phone_region": "CH",        "filelocking.enabled": true,        "memcache.local": "\\OC\\Memcache\\APCu",        "memcache.locking": "\\OC\\Memcache\\Redis",        "redis": {            "host": "***REMOVED SENSITIVE VALUE***",            "password": "***REMOVED SENSITIVE VALUE***",            "port": 6379        },        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",        "overwrite.cli.url": "https:\/\/cloud.payerne.swiss",        "htaccess.RewriteBase": "\/",        "maintenance": false,        "theme": "",        "loglevel": 1,        "mail_smtpauth": 1,        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",        "updater.release.channel": "stable",        "twofactor_enforced": "false",        "twofactor_enforced_groups": [            "admin",            "SDIS"        ],        "twofactor_enforced_excluded_groups": [],        "mysql.utf8mb4": true,        "app_install_overwrite": [            "spreed",            "twofactor_rcdevsopenotp",            "occweb",            "mindmap_app",            "drawio",            "officeonline",            "files_mindmap",            "openotp_auth",            "impersonate",            "integration_moodle"        ],        "apps_paths": [            {                "path": "\/var\/www\/html\/apps",                "url": "\/apps",                "writable": false            },            {                "path": "\/var\/www\/html\/custom_apps",                "url": "\/custom_apps",                "writable": true            }        ],        "memcache.distributed": "\\OC\\Memcache\\Redis",        "data-fingerprint": "550994713cc295254572150adaf2b32c",        "logtimezone": "CEST"    }}
List of activated Apps
occ $ app:list
Enabled:  - activity: 2.17.0  - admin_audit: 1.15.0  - announcementcenter: 6.4.0  - audioplayer: 3.3.1  - bruteforcesettings: 2.5.0  - calendar: 4.1.0  - circles: 25.0.0  - cloud_federation_api: 1.8.0  - comments: 1.15.0  - contacts: 5.0.1  - contactsinteraction: 1.6.0  - dashboard: 7.5.0  - dav: 1.24.0  - deck: 1.8.1  - drawio: 1.0.5  - external: 5.0.0  - federatedfilesharing: 1.15.0  - federation: 1.15.0  - files: 1.20.1  - files_accesscontrol: 1.15.0  - files_automatedtagging: 1.15.0  - files_external: 1.17.0  - files_mindmap: 0.0.26  - files_pdfviewer: 2.6.0  - files_retention: 1.14.0  - files_rightclick: 1.4.0  - files_sharing: 1.17.0  - files_trashbin: 1.15.0  - files_versions: 1.18.0  - firstrunwizard: 2.14.0  - forms: 3.0.1  - geoblocker: 0.5.7  - groupfolders: 13.0.0  - impersonate: 1.11.0  - integration_moodle: 1.0.2  - logreader: 2.10.0  - lookup_server_connector: 1.13.0  - mail: 2.1.0  - nextcloud_announcements: 1.14.0  - notes: 4.6.0  - notifications: 2.13.1  - notify_push: 0.5.0  - oauth2: 1.13.0  - occweb: 0.1.0  - officeonline: 1.1.3  - openotp_auth: 1.4.5  - password_policy: 1.15.0  - photos: 2.0.0  - polls: 4.0.0  - privacy: 1.9.0  - provisioning_api: 1.15.0  - ransomware_protection: 1.14.0  - recommendations: 1.4.0  - related_resources: 1.0.3  - serverinfo: 1.15.0  - settings: 1.7.0  - sharebymail: 1.15.0  - spreed: 15.0.1  - survey_client: 1.13.0  - systemtags: 1.15.0  - tasks: 0.14.5  - text: 3.6.0  - theming: 2.0.1  - twofactor_backupcodes: 1.14.0  - updatenotification: 1.15.0  - user_ldap: 1.15.0  - user_status: 1.5.0  - viewer: 1.9.0  - weather_status: 1.5.0  - workflowengine: 2.7.0Disabled:  - breezedark  - encryption: 2.10.0  - extract  - files_fulltextsearch: 24.0.1  - fulltextsearch: 24.0.0  - fulltextsearch_elasticsearch: 24.0.1  - support: 1.5.0  - suspicious_login  - talk_matterbridge: 1.25.2  - twofactor_totp: 6.4.0
Nextcloud Signing status
No errors have been found.
Nextcloud Logs

No response

Additional info

No response

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

Start with the deck:transfer-ownership OCC command entry point and reproduce the command using the user and board ID described in the issue. Trace why it reports [object Object] and verify the board is transferred to the target user; the issue provides no file or test path, so locating the implementation is part of the work.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.