EntityLegalDocument::getAcceptances() fails without a published version

Created on 8 April 2022, about 2 years ago
Updated 23 May 2023, about 1 year ago

Problem/Motivation

EntityLegalDocument::getAcceptances() fails if no published version exist.

Steps to reproduce

  • Create a legal document but no version of it.
  • Call getAcceptances() on the document entity type.

Proposed resolution

Fix.

Remaining tasks

Fix.

User interface changes

none.

API changes

none.

Data model changes

none.

πŸ› Bug report
Status

Needs review

Version

4.0

Component

Code

Created by

πŸ‡¦πŸ‡ΉAustria guedressel

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024