nextcloud / nextcloud/deck

Deck card description is empty despite being available in the database

Open
#2,879 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug feature: description needs info
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
Hi,

for some random cards in a shared deck, which I am not the owner of and neither was the editor of the card, the description vanishes after some time after being edited and readable. I can't find any logs indicating misbehavior to this regard.

What I can observe:

  • The XHR get request for any of the affected cards yields an empty string for description. Hence no rendering of any content.
  • If I look into the database and do a select for the title of one of the affected cards in oc_deck_cards I see the description as it was written by the author (= the information missing exists in the database).
  • Also no timeline entries are visible for any of the affected cards.
  • If we change the decription, it is written to the database and will be retrieved on the next XHR get request and the timeline starts functioning again after some time (coincides with cron job, I guess).

To Reproduce
Not reproducible by me now, no logs to indicate how to trigger this problem.

Expected behavior
The card description is shown and part of the XHR get request when opening the deck, the timeline functions as expected.

Screenshots
Not applicable as the data in whole is sensitive.

Client details:

  • Firefox Developer Edition 87.0b8 (64-Bit)
  • Microsoft Edge Version 89.0.774.45 (Official Build) (64-Bit)
Server details

Operating system: Ubuntu 20.10

Web server: Apache 2.4.46-1ubuntu1

Database: MariaDB 1:10.3.25-0ubuntu1

PHP version: PHP 7.4.9 (cli) (built: Oct 26 2020 15:17:14) ( NTS )

Nextcloud version: Nextcloud 20.0.8.1

Where did you install Nextcloud from: Nextcloud Homepage

Signing status:

No errors have been found.

List of activated apps:

Enabled:
  - accessibility: 1.6.0
  - activity: 2.13.4
  - admin_audit: 1.10.0
  - announcementcenter: 4.0.1
  - calendar: 2.1.3
  - camerarawpreviews: 0.7.10
  - checksum: 1.1.2
  - cloud_federation_api: 1.3.0
  - comments: 1.10.0
  - contactsinteraction: 1.1.0
  - dashboard: 7.0.0
  - dav: 1.16.2
  - deck: 1.2.5
  - drawio: 1.0.0
  - federatedfilesharing: 1.10.2
  - federation: 1.10.1
  - files: 1.15.0
  - files_markdown: 2.3.3
  - files_mindmap: 0.0.24
  - files_pdfviewer: 2.0.1
  - files_rightclick: 0.17.0
  - files_sharing: 1.12.2
  - files_texteditor: 2.14.0
  - files_trashbin: 1.10.1
  - files_versions: 1.13.0
  - files_videoplayer: 1.9.0
  - firstrunwizard: 2.9.0
  - groupfolders: 8.2.0
  - impersonate: 1.7.0
  - integration_gitlab: 0.0.15
  - integration_zammad: 0.0.18
  - logreader: 2.5.0
  - lookup_server_connector: 1.8.0
  - nextcloud_announcements: 1.9.0
  - notes: 4.0.4
  - notifications: 2.8.0
  - oauth2: 1.8.0
  - password_policy: 1.10.1
  - pdfdraw: 0.1.2
  - photos: 1.2.3
  - privacy: 1.4.0
  - provisioning_api: 1.10.0
  - recommendations: 0.8.0
  - richdocuments: 3.7.16
  - richdocumentscode: 6.4.607
  - serverinfo: 1.10.0
  - settings: 1.2.0
  - sharebymail: 1.10.0
  - spreed: 10.0.6
  - support: 1.3.0
  - survey_client: 1.8.0
  - systemtags: 1.10.0
  - tasks: 0.13.6
  - text: 3.1.0
  - theming: 1.11.0
  - twofactor_admin: 3.0.0
  - twofactor_backupcodes: 1.9.0
  - twofactor_totp: 5.0.0
  - twofactor_u2f: 6.1.0
  - updatenotification: 1.10.0
  - user_status: 1.0.1
  - viewer: 1.4.0
  - weather_status: 1.0.0
  - workflowengine: 2.2.0
Disabled:
  - documentserver_community
  - encryption
  - files_external
  - files_readmemd
  - forms
  - onlyoffice
  - user_ldap

Nextcloud configuration:

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "20.0.8.1",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***/nextcloud",
        "htaccess.RewriteBase": "\/nextcloud",
        "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***",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0
        },
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "skeletondirectory": "***REMOVED SENSITIVE VALUE***\/skeleton",
        "twofactor_enforced": "true",
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": [],
        "maintenance": false,
        "theme": "",
        "loglevel": 2
    }
}

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

Logs
Nextcloud log (data/nextcloud.log)
No logs for this incident available
Browser log
As described above

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 by examining the Deck card XHR response and the oc_deck_cards description data, then investigate the behavior around edits, timeline entries, and cron processing. Reproduce the description disappearing for a shared card and verify that the stored description is returned by the XHR and the timeline continues to function.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, mariadb, php
Domain
api, backend, database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.