πŸ‡ΊπŸ‡ΈUnited States @khaldoon_masud

Account created on 6 June 2012, over 12 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States khaldoon_masud

The change in this is creating nested contextual links and hiding up,down, edit, duplicate and delete buttons.
see https://www.drupal.org/files/issues/2024-12-12/mercury-contextual-links.png β†’

line 132 in web/modules/contrib/mercury_editor/mercury_editor.module
$variables['controls']['label']['#suffix'] = '';
$variables['controls']['delete_link']['#suffix'] = '';

Removing above lines fix the issue.

You can see the HTML structure in https://www.drupal.org/files/issues/2024-12-12/nested-reveal-on-hover.png β†’

πŸ‡ΊπŸ‡ΈUnited States khaldoon_masud

Proposed solution at https://www.drupal.org/project/drupal/issues/3456176#comment-15738200 πŸ› 10.3 upgrade now missing status-message theme suggestions Postponed fixed it for me.

πŸ‡ΊπŸ‡ΈUnited States khaldoon_masud

Patch VBO-operations-2804105-31.patch did not working for on Drupal 10.3. It doesn't show the error but also not perform the action publich/unpublish.

πŸ‡ΊπŸ‡ΈUnited States khaldoon_masud

Could you also include Drupal\drupalauth4ssp\SspHandler::$sspSession property. it is also producing the deprecated warning.

Deprecated function: Creation of dynamic property Drupal\drupalauth4ssp\SspHandler::$sspSession is deprecated in Drupal\drupalauth4ssp\SspHandler->getSspSession() (line 134 of /code/web/modules/contrib/drupalauth4ssp/src/SspHandler.php

πŸ‡ΊπŸ‡ΈUnited States khaldoon_masud

I solved this issue by installing the module https://www.drupal.org/project/advanced_scheduler β†’ , and implementing a custom hook:

/**
 * Implements hook_action_info_alter().
 */
function module_name_action_info_alter(&$definitions)
{

  // Scheduler module does not work with the workbench moderation module, because scheduler calls the publish_action and unpublish_action plugins
  // which are overwritten by workbench_moderation module (lookat workbench_moderation_action_info_alter)
  // Prevent/revert the overwrite with the below code, since advanced_scheduler module is capable of publish/unpublish moderated content.
  if (isset($definitions['node_publish_action']['class']) && $definitions['node_publish_action']['class'] == ModerationOptOutPublishNode::class) {
    $definitions['node_publish_action']['class'] = PublishAction::class;
  }
  if (isset($definitions['node_unpublish_action']['class']) && $definitions['node_unpublish_action']['class'] == ModerationOptOutUnpublishNode::class) {
    $definitions['node_unpublish_action']['class'] = UnpublishAction::class;
  }

  if (isset($definitions['entity:publish_action:node']['class']) && $definitions['entity:publish_action:node']['class'] == ModerationOptOutPublishNode::class) {
    $definitions['entity:publish_action:node']['class'] = PublishAction::class;
  }
  if (isset($definitions['entity:unpublish_action:node']['class']) && $definitions['entity:unpublish_action:node']['class'] == ModerationOptOutUnpublishNode::class) {
    $definitions['entity:publish_action:node']['class'] = UnpublishAction::class;
  }
}

You may need to modify module weight, so above hook runs after workbench_moderation_action_info_alter

πŸ‡ΊπŸ‡ΈUnited States khaldoon_masud

@abhishek_gupta1 That patch did not fix the issue, because the error is thrown in the upper IF condition not in the ELSE condition:

if ($inline_entity_form_parents = ConditionalFieldsFormHelper::findInlineEntityFormParentsForElement($full_form, $field)) {
          $form = &NestedArray::getValue($full_form, $inline_entity_form_parents['element_parents']);

          // Remove outer forms from field parents arrays.
          $field = ConditionalFieldsFormHelper::fieldRemoveInlineEntityFormParents($field, $inline_entity_form_parents);

          $ief_entity = $form["#entity"];
          $bundle = $ief_entity->bundle();
          $entity_type = $ief_entity->getEntityTypeId();
        }
        else {
          $form = &$full_form;
          $bundle = $entity->bundle();
          $entity_type = $entity->getEntityTypeId();

          /**
           * @deprecated Not actual from Drupal 8.7.0.
           * Media entity returns the actual bundle object, rather than id
           */
          if (is_object($bundle) && method_exists($bundle, 'getPluginId')) {
            $bundle = $bundle->getPluginId();
          } elseif (is_object($bundle) && method_exists($bundle, 'bundle')) {
            $bundle = $bundle->bundle();
          }
        }

$ief_entity is NULL cause $form["#entity"] is NULL, thus $ief_entity->bundle() throws an error.

The fix should be something like:

if (!isset($form["#entity"])) {
 return;
}
πŸ‡ΊπŸ‡ΈUnited States khaldoon_masud

Not sure where the fix needs to happen, I also logged a ticket in the conditional_fields module https://www.drupal.org/project/conditional_fields/issues/3413906 πŸ› Not compatible with config_split module Active

πŸ‡ΊπŸ‡ΈUnited States khaldoon_masud

@samir_shukla, Thanks for the suggestion.
The problem is that I can't even load the page /admin/config/development/configuration/config-split,
I get the below error:
Error: Call to a member function bundle() on null in Drupal\conditional_fields\ConditionalFieldsElementAlterHelper->afterBuild() (line 64 of modules/contrib/conditional_fields/src/ConditionalFieldsElementAlterHelper.php).
conditional_fields_element_after_build(Array, Object)
call_user_func_array('conditional_fields_element_after_build', Array) (Line: 1083)

πŸ‡ΊπŸ‡ΈUnited States khaldoon_masud

Tried #56, I was able to select Google maps provider but when I tried to configure the geofield, I got the error:
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "googlemaps" plugin does not exist. Valid plugin IDs for Drupal\geocoder\ProviderPluginManager are: random, file, kmlfile, geojsonfile, gpxfile in Drupal\Core\Plugin\DefaultPluginManager->doGetDefinition() (line 53 of /app/web/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php)

πŸ‡ΊπŸ‡ΈUnited States khaldoon_masud

drupal.org should have a Like button. Thanks @MegaChriz

πŸ‡ΊπŸ‡ΈUnited States khaldoon_masud

@klidifia
Which version of the module was used to apply the patch 3273358-117-ckeditor-5-support-for-content-templates.patch
I am trying to apply this to version ckeditor_templates:^1.3 but getting an error that the patch can't be applied.

πŸ‡ΊπŸ‡ΈUnited States khaldoon_masud

is it related to this https://www.drupal.org/project/conditional_fields/issues/3344587 πŸ“Œ Support field turning hidden by condition to loose its required status Needs work

πŸ‡ΊπŸ‡ΈUnited States khaldoon_masud

The patch 3383346-6.patch doesn't get applied to version 2.0.0-rc7

- Installing drupal/inline_entity_form (2.0.0-rc7): Extracting archive
- Applying patches for drupal/inline_entity_form
https://www.drupal.org/files/issues/2023-09-05/3383346-6.patch β†’ (Can't save the content without reloading)
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2023-09-05/3383346-6.patch β†’

πŸ‡ΊπŸ‡ΈUnited States khaldoon_masud

This patch fixes the issue:

Error: Call to undefined method Drupal\Component\Utility\Crypt::hashEquals() in SimpleSAML\Module\drupalauth\Auth\Source\External->getUser() (line 139 of /app/vendor/simplesamlphp/simplesamlphp/modules/drupalauth/lib/Auth/Source/External.php)

Production build 0.71.5 2024