🇧🇪Belgium @ikeigenwijs

Account created on 26 August 2009, over 15 years ago
#

Recent comments

🇧🇪Belgium ikeigenwijs

i was going through old tickets,
still an issue when removing te old field from user profile.

i dont know how to reproduce exactly.
but we did this:
1) create field 'user_id_account' in /admin/config/people/accounts/fields
wil result in 'field_user_id_account'
2) I presume this field is added to projects on some point, not visible now(prior to removing the recreated field)
also no usages listed on /admin/config/people/accounts/fields

3) remove the field in /admin/config/people/accounts/fields
when deleting this field some reference stays of this field somewher, did not find it.
4) edit node, save /node/101/editget error

field does not appear on the contenttype but node save breaks everyphin.
did cache clear after removal.

a pointer to the richt location or tables, next search is just a file And db grep to vind the ghost entry.

found references in following tables:
key_value_expire
config
cache_default
cache_config
key_value
cache_delta

Quite a lot for a deleted field and cleared cache

The website encountered an unexpected error. Try again later.

Drupal\Core\Entity\Query\QueryException: 'field_user_id_account' not found in Drupal\Core\Entity\Query\Sql\Tables->ensureEntityTable() (line 369 of core/lib/Drupal/Core/Entity/Query/Sql/Tables.php).
Drupal\Core\Entity\Query\Sql\Tables->addField() (Line: 296)
Drupal\Core\Entity\Query\Sql\Query->getSqlField() (Line: 197)
Drupal\Core\Entity\Query\Sql\Query->addSort() (Line: 83)
Drupal\Core\Entity\Query\Sql\Query->execute() (Line: 391)
Drupal\Core\Entity\Plugin\EntityReferenceSelection\DefaultSelection->validateReferenceableEntities() (Line: 133)
Drupal\Core\Entity\Plugin\Validation\Constraint\ValidReferenceConstraintValidator->validate() (Line: 202)
Drupal\Core\TypedData\Validation\RecursiveContextualValidator->validateConstraints() (Line: 154)
Drupal\Core\TypedData\Validation\RecursiveContextualValidator->validateNode() (Line: 164)
Drupal\Core\TypedData\Validation\RecursiveContextualValidator->validateNode() (Line: 106)
Drupal\Core\TypedData\Validation\RecursiveContextualValidator->validate() (Line: 93)
Drupal\Core\TypedData\Validation\RecursiveValidator->validate() (Line: 132)
Drupal\Core\TypedData\TypedData->validate() (Line: 518)
Drupal\Core\Entity\ContentEntityBase->validate() (Line: 188)
Drupal\Core\Entity\ContentEntityForm->validateForm()
call_user_func_array() (Line: 82)
Drupal\Core\Form\FormValidator->executeValidateHandlers() (Line: 274)
Drupal\Core\Form\FormValidator->doValidateForm() (Line: 118)
Drupal\Core\Form\FormValidator->validateForm() (Line: 593)
Drupal\Core\Form\FormBuilder->processForm() (Line: 326)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 73)
Drupal\Core\Controller\FormController->getContentResult()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 638)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 741)
Drupal\Core\DrupalKernel->handle() (Line: 19)
🇧🇪Belgium ikeigenwijs

add https://www.drupal.org/project/book
v2 as dependencies for drupal 11 when book is taken out of Core.

🇧🇪Belgium ikeigenwijs

My bad,
I started looking in the code to patch this and I saw tokens are already supported, yyeeaa!
first twig parsing
than token parsing

Add custom data requires valid twig
just put the token between "" and everything works

"test2": "["webform_submission:values:m_a_timeslot:entity:title"]"

🇧🇪Belgium ikeigenwijs

its a hierarchical tree structure it does not make sens to add the same term on the same level.

it invalidates the tagging principle " give me all the xx" xx being a tid
import result example.

eg:
ok
animal(tid 1) > horse(tid 2)
> dog(tid 3)

not ok
animal(tid 1) > horse (tid 2)
animal (tid 3)> dog (tid 4)

i hope it more clear so as way, there i no use case where the same term name on the same level makes sense in a hierarchical tree.

🇧🇪Belgium ikeigenwijs

I currently work around it with using the token in a hidden field so the data is passed in the remote post.

🇧🇪Belgium ikeigenwijs

ill pull on the tamper side

🇧🇪Belgium ikeigenwijs

its the only thing not translated. forgo to search in english.....

🇧🇪Belgium ikeigenwijs

the original issue in vbo, we will be testing and patching this.

🇧🇪Belgium ikeigenwijs

got: The jsmin function does not exist. Using JSqueeze.
after patching

🇧🇪Belgium ikeigenwijs

That was fast ;-)
Works, no more deprecated messages

🇧🇪Belgium ikeigenwijs

We also have this deprecated alert, but we dont use paragraphs on the site.
D10 on php 8.2
Deprecated function: mb_strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\Core\Config\Entity\Query\Condition->compile() (line 39 of /core/lib/Drupal/Core/Config/Entity/Query/Condition.php)

🇧🇪Belgium ikeigenwijs

I dont think so it also happens on full pictures as well.
Canva is used for the composites.

🇧🇪Belgium ikeigenwijs

#2 3295283.patch works for my finely got dropzone working after a lot of versions and sources in composer.

i dont have the library missing on status page

🇧🇪Belgium ikeigenwijs

I think this issue should be closed, all solutions above did not help

but patch #2 of https://www.drupal.org/project/dropzonejs/issues/3295283 📌 Installation not working with Dropzone 6 Needs review

did work

🇧🇪Belgium ikeigenwijs

still an issue D 9.5.10

The error in the logs is

Path: /XXXX/admin/content/media-widget/image?name=xx&sort_by=created.Drupal\Core\Http\Exception\CacheableAccessDeniedHttpException: The opener ID parameter is required and must be a string. in Drupal\Core\Routing\AccessAwareRouter->checkAccess() (line 118 of /XXXX/core/lib/Drupal/Core/Routing/AccessAwareRouter.php).

🇧🇪Belgium ikeigenwijs

the patch applies on dev
but i see the default form in all instances.
theme used barrio bootstrap

in advanced settings
form id:
search-api-page-block-form-zoeken

🇧🇪Belgium ikeigenwijs

drupal 9.5.1

"drupal/bpmn_io": "^1.1",
"drupal/eca": "^1.1",
"drupal/advagg": "^6.0.alpha1",

Production build 0.71.5 2024