Problem/Motivation

Adding a block without the link field breaks things

Steps to reproduce

Add a Donate block
Don't fill out the link field
Observe block isn't added, error in logs:

Error: Call to a member function first() on null in lb_donate_preprocess_block__lb_donate() (line 59 of /var/www/docroot/modules/contrib/y_donate/modules/lb_donate/lb_donate.module)

Proposed resolution

Fix it.

Issue fork y_donate-3369116

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

froboy created an issue. See original summary.

froboy’s picture

Status: Active » Needs review

  • froboy committed bcc1f0eb on 1.0.x
    Issue #3369116: Donation page link field should be required
    
froboy’s picture

Version: 1.0.x-dev » 1.0.3
Status: Needs review » Fixed

Tagging for QA

Status: Fixed » Closed (fixed)

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