πŸ‡¦πŸ‡«Afghanistan @ab.shakir

Account created on 5 September 2019, over 5 years ago
  • Drupal Developer, Site Builder at DRUPAKΒ 
#

Recent comments

πŸ‡¦πŸ‡«Afghanistan ab.shakir

ab.shakir β†’ created an issue.

πŸ‡¦πŸ‡«Afghanistan ab.shakir

I thought it is worth debugging this issue and found that it should be:

'#ajax' => [
  'url' => views_ui_build_form_url($form_state),
]

Instead of:

'#ajax' => [
  'path' => views_ui_build_form_url($form_state),
]

So it is all about 'path' vs 'url'.

πŸ‡¦πŸ‡«Afghanistan ab.shakir

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

πŸ‡¦πŸ‡«Afghanistan ab.shakir

The ID formatter also has multiple real world use cases although it does not make much sense for Paragraphs. In my case, I have a reference field using the ERR and I want to use the ID in views re-write results while in another scenario I'm trying to embed another view with the help of Views Field View and passing the ID value as a contextual filter.

πŸ‡¦πŸ‡«Afghanistan ab.shakir

ab.shakir β†’ changed the visibility of the branch 2937835-add-additional-field to active.

πŸ‡¦πŸ‡«Afghanistan ab.shakir

ab.shakir β†’ changed the visibility of the branch 2937835-add-additional-field to hidden.

πŸ‡¦πŸ‡«Afghanistan ab.shakir

We can add it back for special cases using the patch.

πŸ‡¦πŸ‡«Afghanistan ab.shakir

This was committed for purpose in core version 10.2.x to simplify the block listing in layout builder.

πŸ‡¦πŸ‡«Afghanistan ab.shakir

For me it was one of the core patches which I previously applied for D9 version. After removing all patches for Drupal core, the issue is resolved now.

πŸ‡¦πŸ‡«Afghanistan ab.shakir

I'm facing this in Drupal 10.3.0 after upgrading from 9.5.11. The patch mentioned in #7 not helping in my case.

πŸ‡¦πŸ‡«Afghanistan ab.shakir

Patch at #3 not applying for 1.x-dev.

πŸ‡¦πŸ‡«Afghanistan ab.shakir

This is still an issue. Same like mentioned in #5 when I add a taxonomy reference field in views filters and expose it, the dynamic page cache stops working and the browser console shows the cache header like X-Drupal-Dynamic-Cache: UNCACHEABLE. But everything works fine if I remove this filter from the view.

I'm testing on a fresh Drupal 9.5.9 install.

πŸ‡¦πŸ‡«Afghanistan ab.shakir

The annotation in the content enabler plugin should include the handler part. This is actually missing from the instructions mentioned in the issue summary above. Your annotation must look like:

/**
* Provides a content enabler for user entities.
*
* @GroupContentEnabler(
* id = "group_entity_user",
* label = @Translation("User"),
* description = @Translation("Adds users to groups as pure entities and not as members."),
* entity_type_id = "user",
* entity_access = TRUE,
* pretty_path_key = "user",
* reference_label = @Translation("Username"),
* reference_description = @Translation("The name of the user (entity) to add to the group (not as a member)"),
* deriver = "Drupal\module_name\Plugin\GroupContentEnabler\UserEntityDeriver",
* handlers = {
* "access" = "Drupal\group\Plugin\GroupContentAccessControlHandler",
* "permission_provider" = "Drupal\group\Plugin\GroupContentPermissionProvider",
* }
* )
*/

πŸ‡¦πŸ‡«Afghanistan ab.shakir

I've configured the FillPDF LocalServer and is working really well for the template files served from Azure Blob Storage.

Production build 0.71.5 2024