nextcloud / nextcloud/contacts

Can't send email to group (as bcc) when address book is disabled

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

Nobody has claimed this yet.

1. to develop bug feature: contacts
Dominant language
JavaScript
Stars
642
Forks
220
Avg merge
14h 39m
Merged PRs (30d)
51

Description

Steps to reproduce
  1. Open the app
  2. Create an address book
  3. Add a contact
  4. Add a group to the contact
  5. Disable the address book
  6. Open the actions menu of the group in the sidebar
  7. Click Send email OR Send email as BCC### Expected behaviorBrowser opens my email client
Actual behavior
TypeError: this.contacts[key] is undefined
    emailGroup GroupNavigationItem.vue:243
    emailGroup GroupNavigationItem.vue:243
    click contacts-main.mjs:50246
    VueJS 4
    onClick actionText-fFcUPi2g.mjs:77
    handleClick NcActionButton.mjs:131
    VueJS 64
    openMenu NcActions-BgYpDq2n.mjs:394
    VueJS 5
Server operating system

No response

Web server

None

Database engine version

None

PHP engine version

None

Nextcloud version

No response

Updated from an older installed version or fresh install

None

Signing status

List of activated apps

Nextcloud configuration

Browser

No response

Client operating system

No response

CardDAV-clients

No response

Web server error log

Nextcloud log

Browser log

Browser log
cc @harryyoud

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 GroupNavigationItem.vue around line 243 and reproduce the issue by disabling the address book before using the group’s Send email or Send email as BCC action. Trace the failing emailGroup path and verify that the completed behavior opens the email client without the TypeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.