๐Ÿ‡ฎ๐Ÿ‡ณIndia @ashetkar

Account created on 23 March 2014, over 10 years ago
#

Recent comments

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

I have tried with version 6.2.2 and it's working fine. For webform version 6.3.x still an issue.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

I have also faced "Circular reference detected for service" after 10.2 upgrade and patch #4 worked fine. Thanks @searosin.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

I have compared drupal core (core/lib/Drupal/Core/Field/) FieldConfigBase.php file for version 10.1.8 and 10.2.5. I can see the below difference in code.

// Make sure all expected runtime settings are present.
$default_settings = \Drupal::service('plugin.manager.field.field_type')
->getDefaultFieldSettings($this->getType());
// Filter out any unknown (unsupported) settings.
$supported_settings = array_intersect_key($this->getSettings(), $default_settings);
$this->set('settings', $supported_settings + $default_settings);

https://git.drupalcode.org/project/drupal/-/blob/10.1.8/core/lib/Drupal/...
https://git.drupalcode.org/project/drupal/-/blob/10.2.5/core/lib/Drupal/...

Above code added newly in 10.2.5 version which is not allowing import for base_field_override fields. I have added patch where i removed above code.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

[error] Error: Call to a member function getSettings() on null in Drupal\Core\Field\FieldConfigBase->getSettings() (line 372 of /home/vsts/work/1/s/docroot/core/lib/Drupal/Core/Field/FieldConfigBase.php) #0 /home/vsts/work/1/s/docroot/core/lib/Drupal/Core/Field/FieldConfigBase.php(287): Drupal\Core\Field\FieldConfigBase->getSettings()

Getting above issue on config import.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

Promote is not field it is an attribute. We are overriding default promote attribute in field override.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

How does the import configuration differ from the running configuration on the server end? - No it's not different all config starts base_field_override is getting failed. Please find below one of the config name : core.base_field_override.node.page.promote.yml

uuid: 69be9e46-6806-4c5d-83c7-bf3312538678
langcode: en
status: true
dependencies:
config:
- node.type.page
_core:
default_config_hash: vdYkuvvyzCU3dFiOu7LULd-uZyENb_byNYidQVIZtXk
id: node.page.promote
field_name: promote
entity_type: node
bundle: page
label: 'Promoted to front page'
description: ''
required: false
translatable: false
default_value:
-
value: 0
default_value_callback: ''
settings:
on_label: 'On'
off_label: 'Off'
field_type: boolean

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

When we commit code and send to server at server end import config is getting failed for existing configuration. I have exported configuration but there is no change for base_field_override related config.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

yes When we submit manually we are getting error as "the answer you entered for captcha is not correct". But not always we get this error sometime request getting submitted successfully. Today all our request are submitted successfully. As of now I am monitoring Form data.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

Yes, recaptcha response is sent with data. Is there any limit for number of request for recaptcha v3 submission? Because our site having high traffic.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

Thank you for response. We are not using ajax in form.
Can you try to change the fallback to Math and check what happens? - Yes, I have tried and getting issue _GRECAPTCHA cookie. Please find attached screenshot.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

We are using v2 fallback method.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

Okay. Please find attached image.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

Hi @dench0

Could you please let us know what else information do you need ? I have given module version, error name and configured v3 captcha and shared screenshot as well.

Issue here is, recaptcha V3 is not working correctly. It works intermittenly and throw error as the answer entered for captcha was not correct.

Please let us know if you need information from my side.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

I am adding for patch below version and we faced accessibility issues using mousedown event. If we add mouse up event issue is getting resolved.

Drupal version : 10.1.8

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

With #3 Patch CI pipeline working fine for Drupal core 10.1.5 but patch #55 failing for drupal core 10.1.5

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

Hi @drunken monkey,

โ€œAlso search api cron not rebuilding index or tracking information of content and we could also see node is getting duplicatedโ€? - For example, if there are already 30 nodes are indexed then auto cron search api cron job is not rebuilding tracking information it indexed items but items become duplicate.

Please let us know if you need more information ?

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

I am attaching patch here. I have removed simple_sitemap_entity_extra_field_info from module file. As this hook creates simple sitemap field with fixed weight which creating drupal cim issue for sites.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

Okay. We have 15 sites in production environment which are affecting due to this change.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

I have already explained in description. I am not able to understand why this hook is adding weight 10. Because this change config is getting changed.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

@cilefen, Please find below custom code which we are using to generate anon user session ID. But once we clear drupal cache it is not generating again.

function custom_page_attachments(array &$page) {
page['#attached']['session_id'] = \Drupal::service('session_manager')->getId();
}

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

Removed vendor stream wrapper dependency for jquery color picker module. Keep getting this issue in all sites.
Uncaught TypeError: trigger.ColorPicker is not a function. Adding patch will remove dependency of vendor_stream_wrapper module.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

After adding patch #2 getting issue as " Adding non-existent permissions to a role is not allowed. The incorrect permissions are "View published Path file entity entities".

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

Please find attached patch for above issue fix

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

Issue still exits in https://www.drupal.org/project/libraries/releases/4.0.3 โ†’ module version.

error] TypeError: Drupal\Component\DependencyInjection\ReverseContainer::generateServiceIdHash(): Argument #1 ($object) must be of type object, null given in Drupal\Component\DependencyInjection\ReverseContainer->generateServiceIdHash() (line 87 of /home/vsts/work/1/s/docroot/core/lib/Drupal/Component/DependencyInjection/ReverseContainer.php) #0 [internal function]: Drupal\Component\DependencyInjection\ReverseContainer->generateServiceIdHash

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

There was no adequate strategy or rollback plan, the computed_string field was deleted from version 4.0. We used this field in more than 300 websites. I have attached Drupal 10 version 3.x dev patch. I checked with the rector and there are no deprecated functions.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

Installation is working fine. When do import for acquia contenthub then also I am facing same issue.

๐Ÿ‡ฎ๐Ÿ‡ณIndia ashetkar

I confirmed existing_url_alias_issue-3181995-24.patch (comment #24) works fine for me.

Production build 0.71.5 2024