Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
C
Core
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 923
    • Issues 923
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • Development
  • Core
  • Issues
  • #1912

Closed
Open
Opened Jul 27, 2020 by DaveD@DaveDDeveloper

Weird "null" in mailing recipient group list

null

Can reproduce on dmaster.demo. I don't see it in 5.22 but do see it in 5.24 and up. Don't have a 5.23 handy.

  1. Create at least 2 groups with the mailing list checkbox checked.
  2. Go to New Mailing.
  3. Pick one group.
  4. Open the group dropdown again and scroll down.
  5. It even lets you select it.

In drupal watchdog there is this:

Location: http://example.com/civicrm/ajax/rest?entity=Mailing&action=getlist&json=%7B%22input%22%3A%22%22%2C%22page_num%22%3A1%2C%22params%22%3A%7B%22is_hidden%22%3A0%2C%22is_active%22%3A1%2C%22options%22%3A%7B%22sort%22%3A%22is_archived+asc%2C+scheduled_date+desc%22%7D%7D%2C%22api.MailingRecipients.getcount%22%3A%7B%7D%7D

Notice: Undefined index: name in _civicrm_api3_generic_getlist_output() (line 191 of .../api/v3/Generic/Getlist.php).

This might be violating a higher mathematical law here too - it's not possible to exclude the null set, since the null set is a subset of every set. (Source: Math)

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: dev/core#1912