Skip to content

TypeError in Deck: findBoardId() blocks file management in Nextcloud #7869

@dmprojectsulotions

Description

@dmprojectsulotions

Description of the Issue

When creating or deleting files in Nextcloud, a TypeError occurs in the Deck app. This error prevents file management operations (e.g., creating or deleting files/folders) from completing successfully.

The error message is:

OCA\Deck\Db\CardMapper::findBoardId(): Argument #1 ($id) must be of type int, string given, called in /var/www/nextcloud/apps/deck/lib/Sharing/DeckShareProvider.php on line 1027

Steps to Reproduce

  1. Navigate to the "Files" section in Nextcloud.
  2. Attempt to create a new file or delete an existing file.
  3. The error appears, and the file operation fails.

Expected Behavior

Files should be created or deleted without errors, regardless of whether the Deck app is enabled.

Software Versions

  • Nextcloud version: 33.02
  • Deck app version: 1.17.1
  • PHP version: 8.3.30
  • Database type and version: mysql 8.0.45

Log Messages

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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