Hello, when I add a generator I receive this error and I can't find any log.

Notice: Undefined index: status in Drupal\entity_activity\Plugin\LogGeneratorBase->isEnabled() (line 556 of modules/entity_activity/src/Plugin/LogGeneratorBase.php).
Drupal\entity_activity\Plugin\LogGeneratorBase->isEnabled() (Line: 375)
Drupal\entity_activity\Plugin\LogGeneratorBase->validateConfigurationForm(Array, Object) (Line: 223)
Drupal\entity_activity\Form\GeneratorForm->validateForm(Array, Object)
call_user_func_array(Array, Array) (Line: 82)
Drupal\Core\Form\FormValidator->executeValidateHandlers(Array, Object) (Line: 275)
Drupal\Core\Form\FormValidator->doValidateForm(Array, Object, 'entity_activity_generator_edit_form') (Line: 118)
Drupal\Core\Form\FormValidator->validateForm('entity_activity_generator_edit_form', Array, Object) (Line: 576)
Drupal\Core\Form\FormBuilder->processForm('entity_activity_generator_edit_form', Array, Object) (Line: 319)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 93)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 582)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 151)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 68)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 693)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

CommentFileSizeAuthor
#6 3076677-6.patch955 bytesflocondetoile
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

francisdrake created an issue. See original summary.

flocondetoile’s picture

Status: Active » Postponed (maintainer needs more info)

Hello,

Wich plugin do you used with your Generator ? Those provided or a custom one ?

And please provide step by step a way to reproduce your error.

francisdrake’s picture

Those provided. I simply create a log, with any of provided plugin, and when I save systems returns the error. Generetaor appears in the list but no log has created.
I have installed also message stack. Could be a conflict with it?

flocondetoile’s picture

I need to reproduce the error with a clear step by step process. Actually, i can't reproduce your error.

I don't think message stack is responsible of anything here.

flocondetoile’s picture

Status: Postponed (maintainer needs more info) » Active

OK I succeed to reproduce the error

flocondetoile’s picture

Status: Active » Needs review
FileSize
955 bytes
flocondetoile’s picture

Priority: Normal » Minor

As it's a simple Notice, it's a minor bug.

  • flocondetoile committed 3032cd8 on 8.x-1.x
    Issue #3076677 by flocondetoile: Error when adding generator
    
flocondetoile’s picture

Status: Needs review » Fixed

Thanks for reporting. The fix will be included in the next release.

Status: Fixed » Closed (fixed)

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