Problem/Motivation

Saving the settings when no entity has been defined (showing only frontpage) generates an error "Error
The website has encountered an error. Please try again later"

This is due to the subtype field being null for the frontpage.

Proposed resolution

Simply add a 'subtype' => '' to the link save.

Remaining tasks

Upload the patch.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

camoa’s picture

The patch, it seems to be working now.

Michelle’s picture

Status: Active » Reviewed & tested by the community

I confirmed this patch does the job.

Michelle’s picture

swentel’s picture

Dave Reid’s picture

Status: Reviewed & tested by the community » Fixed

Committed and pushed #1 to 8.x-1.x.

  • Dave Reid committed ed43d14 on 8.x-1.x authored by camoa
    Issue #2485859 by camoa: Fixed error when saving settings by not adding...

Status: Fixed » Closed (fixed)

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