Berlin
Account created on 22 October 2010, over 14 years ago
#

Recent comments

πŸ‡©πŸ‡ͺGermany heliogabal Berlin

I have the same problem on a current 2.40 install. I found the dependency declared in the profile's commerce_base.info.yml in web/profiles/contrib/commerce_base. I deleted the line with - search in the file, then I could uninstall the search module without further problems.

As I understand, this is more of a question of performance, so should we just ignore it for now? Or is this just a leftover and I can just delete this dependency and uninstall the search without any problems? Could this be fixed in a newer version of the profile?

πŸ‡©πŸ‡ͺGermany heliogabal Berlin

I can confirm that adding the library.discovery.collector as done in the patch fixes the issue for me.

πŸ‡©πŸ‡ͺGermany heliogabal Berlin

Hi Hosisam,

thanks for checking, I found the problem - I had to add a src-URL to one of the components with the last beta, in order to see images. Now this seems to be fixed, but I had to remove the src again in order to also see SVG.

πŸ‡©πŸ‡ͺGermany heliogabal Berlin

heliogabal β†’ created an issue.

πŸ‡©πŸ‡ͺGermany heliogabal Berlin

merged automated D11 compatiblity fixes. Created new release.

πŸ‡©πŸ‡ͺGermany heliogabal Berlin

heliogabal β†’ made their first commit to this issue’s fork.

πŸ‡©πŸ‡ͺGermany heliogabal Berlin

this merge request had to be reverted because of security / permission problems, as explained in the merge request, so the issue is not fixed and still affects us today. Shouldn't this be reopened therefore?

Or is there any way to add new images to an existing album ?

πŸ‡©πŸ‡ͺGermany heliogabal Berlin

I can confirm that config translation of config menu links still doesn't work, but I get a slightly different error:

The website encountered an unexpected error. Please try again later.

TypeError: Drupal\config_translation\ConfigEntityMapper::setEntity(): Argument #1 ($entity) must be of type Drupal\Core\Config\Entity\ConfigEntityInterface, null given, called in /web/core/modules/config_translation/src/ConfigEntityMapper.php on line 113 in Drupal\config_translation\ConfigEntityMapper->setEntity() (line 142 of core/modules/config_translation/src/ConfigEntityMapper.php).

Drupal\config_translation\ConfigEntityMapper->populateFromRouteMatch() (Line: 85)
Drupal\config_translation\Access\ConfigTranslationOverviewAccess->getMapperFromRouteMatch() (Line: 58)
Drupal\config_translation\Access\ConfigTranslationOverviewAccess->access()
call_user_func_array() (Line: 160)
Drupal\Core\Access\AccessManager->performCheck() (Line: 136)
Drupal\Core\Access\AccessManager->check() (Line: 113)
Drupal\Core\Access\AccessManager->checkRequest() (Line: 104)
Drupal\Core\Routing\AccessAwareRouter->checkAccess() (Line: 89)
Drupal\Core\Routing\AccessAwareRouter->matchRequest() (Line: 105)
Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest()
call_user_func() (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 139)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 74)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 270)
Drupal\shield\ShieldMiddleware->bypass() (Line: 137)
Drupal\shield\ShieldMiddleware->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 686)
Drupal\Core\DrupalKernel->handle() (Line: 19)
require('/web/index.php') (Line: 71)
πŸ‡©πŸ‡ͺGermany heliogabal Berlin

I tested the patch and the redirect to <current> is working again after applying the patch (#6) on Drupal 9.4.12.

πŸ‡©πŸ‡ͺGermany heliogabal Berlin

Wow, there are quite some assumptions being made then by Open Social... might be worth notifying them about it, so they can catch any exception to those assumptions themselves as well, so other modules don't run into similar problems? Not sure if I can explain this in a good way, so maybe it may make more sense if you report this in your own words, programmer to programmer?

Either way, I tested the provided patch and it works as advertised. I can now open the BPMN Modeler and create my first model. So to me, problem is solved, let me know if I can do anything else in the matter. And thanks again for your lightning-fast response and timely help, this already made my day!

πŸ‡©πŸ‡ͺGermany heliogabal Berlin

I'm using the latest stable version 11.7.2 (updated today). I think the profiel template is still on 11.7.0, but that shouldn't make a difference, as only a few unrelated bugs were fixed in between.

Good luck!

πŸ‡©πŸ‡ͺGermany heliogabal Berlin

that sounds like a plan. I think the quickest way to install the distro is with the template: https://github.com/goalgorilla/social_template/

It's a great distro, providing massive features, but I also discovered some very opinionated deviation from standard Drupal behavior already (getting rid of the Edit Tab for example), but I can't judge the code quality or standard adherence. So I am curious as to what you will find.

Good luck finding out more, I'll postpone my initial plan then but will definitely not give up on ECA, and am sure to find my next use case on a more standard project first. Thanks again for the fastest help!

πŸ‡©πŸ‡ͺGermany heliogabal Berlin

thanks @jurgenhaas, that must have been the fasted answer I've ever had in all these years in the Drupal issue queue! I appreciate that very much!

The Social Group module is part of the Open Social Distribution β†’ , so it's buried in the distribution profile, not very obvious to find. I realize it might count as a custom module for the distro: https://git.drupalcode.org/project/social/-/tree/11.5.x/modules/social_f...

Still, it would be nice to be able to use the two together, so I hope it's not too difficult to accommodate for that.

Thanks for looking into it!

As of your suggestion, I added the

if (!is_array($definition)) {
        continue;
      }

and tried again, but unfortunately, that doesn't fix the issue but only provides a different error:

AssertionError: Cannot load the "group" entity with NULL ID. in assert() (Zeile 295 in /var/www/html/html/core/lib/Drupal/Core/Entity/EntityStorageBase.php)

#0 /var/www/html/html/core/lib/Drupal/Core/Entity/EntityStorageBase.php(295): assert(false, 'Cannot load the...')
#1 /var/www/html/html/profiles/contrib/social/modules/social_features/social_group/src/Plugin/Action/ChangeGroupMembershipRole.php(143): Drupal\Core\Entity\EntityStorageBase->load(NULL)
#2 /var/www/html/html/modules/contrib/eca/src/Service/Actions.php(128): Drupal\social_group\Plugin\Action\ChangeGroupMembershipRole->buildConfigurationForm(Array, Object(Drupal\Core\Form\FormState))
#3 /var/www/html/html/modules/contrib/eca/modules/modeller_bpmn/src/ModellerBpmnBase.php(547): Drupal\eca\Service\Actions->getConfigurationForm(Object(Drupal\social_group\Plugin\Action\ChangeGroupMembershipRole), Object(Drupal\Core\Form\FormState))
#4 /var/www/html/html/modules/contrib/bpmn_io/src/Plugin/ECA/Modeller/BpmnIo.php(76): Drupal\eca_modeller_bpmn\ModellerBpmnBase->getTemplates()
#5 /var/www/html/html/modules/contrib/bpmn_io/src/Controller/BpmnIo.php(61): Drupal\bpmn_io\Plugin\ECA\Modeller\BpmnIo->edit()
#6 [internal function]: Drupal\bpmn_io\Controller\BpmnIo->add()
#7 /var/www/html/html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array(Array, Array)
#8 /var/www/html/html/core/lib/Drupal/Core/Render/Renderer.php(564): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#9 /var/www/html/html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext(Object(Drupal\Core\Render\RenderContext), Object(Closure))
#10 /var/www/html/html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array)
#11 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(169): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#12 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(81): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#13 /var/www/html/html/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 /var/www/html/html/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#15 /var/www/html/html/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#16 /var/www/html/html/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 /var/www/html/html/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#18 /var/www/html/html/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#19 /var/www/html/html/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 /var/www/html/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#21 /var/www/html/html/core/lib/Drupal/Core/DrupalKernel.php(709): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#22 /var/www/html/html/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#23 {main}

Don't really know what to do with that either. Sorry to bother you with faulty code from some other module, should I post your findings to the Open Social issue group?

πŸ‡©πŸ‡ͺGermany heliogabal Berlin

I had no troubles installing with composer, so I can't reproduce this. Probably a caching issue.

πŸ‡©πŸ‡ͺGermany heliogabal Berlin

thanks Saurabh,
I added the README.md now.

But I had to basically completely rewrite it according to the README Template Guidelines β†’ . Considering these in the future will save everybody some time!

Production build 0.71.5 2024