nextcloud / nextcloud/deck

"this.$attachmentResolver is null" when inserting image into card

Open
#5,448 5 comments 10 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hello, when adding an image to a card, I get this.$attachmentResolver is null

Specifically, I open a card, in the description click "Insert from files". I then click the arrow to insert the image into the description.
image

The image appears correctly as the cover image of the card, but in the description appears only the error "this.$attachmentResolver is null"
image

Client details:

  • OS: Fedora 39
  • Browser: Firefox
Server details

Operating system: Ubuntu 20.04

Web server:

Database:

PHP version: 8.1.27

Nextcloud version: 28.0.1

Where did you install Nextcloud from:

Signing status:

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

No errors have been found.

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

Nextcloud configuration:

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

or

Insert your config.php content here
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)

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
b) The network log
c) ...

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

Reproduce the issue by opening a card, choosing “Insert from files” in the description, and clicking the arrow for an image; inspect the browser console for the attachment resolver error. Done means the image is inserted into the card description without the error while the cover image behavior remains correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
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.