Page MenuHomePhabricator

Remove status from Donation domain model
Closed, ResolvedPublic5 Estimated Story Points

Description

While working on T276820: Use bounded context use cases for actions that change donations in Fundraising Operation Center we separated the moderation and deletion state from the payment state. The Legacy converters can convert to and from the internal state field using moderation, deletion and payment information, so the state no longer serves a purpose.

Acceptance criteria

  • Domain\Model\Donation does no longer have a status field, getter or constructor argument. This is a BC break, you must release a new version of the Donation bounded context.
  • The tests in the fundraising-donations and fundraising-app repositories pass

Implementation Notes:

We have already done most of the work, the only place where we still call getStatus is in the tests.

Event Timeline

gabriel-wmde renamed this task from Remove status from Donation to Remove status from Donation domain model.May 4 2021, 1:35 PM
kai.nissen set the point value for this task to 5.Jul 26 2021, 10:30 AM
kai.nissen claimed this task.
kai.nissen removed kai.nissen as the assignee of this task.
kai.nissen subscribed.