Problem/Motivation

Create a first new helpdesk results in:

Error: Typed property Drupal\helpdesk_integration\Entity\Helpdesk::$default must not be accessed before initialization in Drupal\helpdesk_integration\Entity\Helpdesk->isDefault() (Zeile 175 in /var/www/html/web/modules/contrib/helpdesk_integration/src/Entity/Helpdesk.php).

Steps to reproduce

Create a first new helpdesk.

CommentFileSizeAuthor
#2 3403304-1.patch371 bytessandeepsingh199

Comments

danielspeicher created an issue. See original summary.

sandeepsingh199’s picture

Status: Active » Needs review
StatusFileSize
new371 bytes

Hi @danielspeicher, We have to first initialise the property before access. Try this patch.

  • danielspeicher committed aac2f85e on 2.0.x
    Issue #3403304 by SandeepSingh199, danielspeicher: Error when creating...
danielspeicher’s picture

Status: Needs review » Fixed

Thanks a lot. Patch is applied for 2.0.x-dev.

Status: Fixed » Closed (fixed)

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