Problem/Motivation

Darn. I tried to fix a small bug I found while working on other things, but accidentally mixed it up with another change, and ended up creating an even worse bug. :-(

The following error occurs when you try to save a price quantity now:

Error: Call to a member function isEmpty() on null in /opt/drupal/web/modules/farm_ledger/src/EventSubscriber/QuantityEventSubscriber.php on line 70

Steps to reproduce

Save a price quantity with no empty fields.

Proposed resolution

The fix is stupid simple. I will merge and tag 2.0.4 momentarily...

Remaining tasks

None.

User interface changes

None.

API changes

None.

Data model changes

None.

Comments

m.stenta created an issue. See original summary.

  • m.stenta committed a23f5763 on 2.x
    Issue #3352775: Error: Call to a member function isEmpty() on null in...
m.stenta’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.