Account created on 25 February 2019, over 5 years ago
#

Recent comments

Hi dcimorra.

It looks like as duplicate to 3383149 šŸ› Simple cron log should not log non scheduled jobs. RTBC

What do you think?

Thank you @sgohil1,

You have saved my day. The patch #3 works fine for 2.0 version also.

@Manuel Garcia, I do not agree "

but it would no longer be an accordion.

. It is still accordion, but previous one is still open, until you click on it and make it collapsed again.
However by default this option is also disabled so it is always accordion and who does not need ,simply won't enable it.

Thank you for your answer.

It will be a big help help if your customer would allow you to publish such an amazing feature so community can use it.

Maybe one day, much appreciated.

Hi

What is the difference between this module and entity extra one?

This one is awesome but have never used tha one you have mentioned.

+1 need the same feature, export multiple data exports at the same time to one file.

Bingo!. Finally.

It sounds like maybe having them present before the module is installed may prevent them from being recognized.

That is exactly the issue. It seems every time when you want to add/remove column you have to comment hooks out - enable module and later uncomment and run update.php.

Thank you

Yes i have also mentioned that in my previous answer. Not sure what i am missing here. I have spent hours to make it work already:(

Thank you..

Does it mean I just need 2 following files :
custom_field_updates.info.yml

and
custom_field_updates.install

with code:

<?php
/**
 * Adds the "port" column to the "field_circuit" field storage.
 */
function custom_field_updates_update_10001(): void {
  /** @var \Drupal\custom_field\CustomFieldUpdateManagerInterface $update_manager */
  $update_manager = Drupal::service('custom_field.update_manager');
  $update_manager->addColumn('node', 'field_circuit', 'portx', 'string');
}

Because I just tried and enabled module ,run update.php and cleared cache but I don't see any difference. Still when I visit field_circuit I am unable to see portx field item there.

I also tried to remove already existing "decom_id" item from field_circuit but also once I enable module (custom_field_updates.install) with following code of , nothing happens :

/**
 * Remove a column from custom_field.
 */
function my_module_update_10002(): void {
  /** @var \Drupal\custom_field\CustomFieldUpdateManagerInterface $update_manager */
  $update_manager = Drupal::service('custom_field.update_manager');
  $update_manager->removeColumn('node', 'field_circuit', 'decom_id');
}

Hi apmsooner,

Can you help me with this a little bit.
I do really need to add additional column to my existing custom field.

Name of custom field is "field_circuit"
and new column machine name should be "portx" of string (255)

1. I have created custom_field_updates.info.yml
2. I have created custom_field_updates.install as follow :

<?php
/**
 * @file
 * Install file for the custom_field_updates module.
 */

use Drupal\Core\Entity\EntityTypeManagerInterface;
use Drupal\field\Entity\FieldStorageConfig;
use Drupal\field\Entity\FieldConfig;

/**
 * Implements hook_module_install().
 */
function custom_field_updates_module_install() {
  $entity_type_manager = \Drupal::service('entity_type.manager');
  $field_storage_config = FieldStorageConfig::load('<strong>field_circuit</strong>');

  // Check if the field storage configuration exists.
  if ($field_storage_config) {
    // Create an update hook to add the new column.
    $update_hook = 8001; 
    $entity_type_manager->getStorage('update')->create([
      'id' => $update_hook,
      'announce' => 'Add "port" column to "<strong>field_circuit</strong>" field',
      'execute' => 'custom_field_updates_update_' . $update_hook,
    ])->save();
  }
}

3. I have created custom_field_updates.update.php as follow:

<?php
/**
 * @file
 * Update hook for the custom_field_updates module.
 */

use Drupal\Core\Database\Connection;

/**
 * Adds the "port" column to the "field_circuit" field storage.
 */
function custom_field_updates_update_8001(): void { 
/** @var \Drupal\custom_field\CustomFieldUpdateManagerInterface $update_manager 
*/ 
$update_manager = Drupal::service('custom_field.update_manager'); 
$update_manager->addColumn('node', '<strong>field_circuit</strong>', '<strong>portx</strong>', 'string', ['length' => 255, 'machine_name' => TRUE]); } 

When I enable module, i still cannot see new column in field_circuit and also in database. (I also tried with 9001 instead of 8001)

What I am missing ?

I think it was caused by me.

Problem : I always needed to override the machine-readable name. But I wanted to be very fast so once I added some machine-readable name I immediately clicked on Add another button. However it seems I need to click outside of form first so Ajax will load it and then I can click "Add another".

Here is picture where it is shown that I am still typing inside the form and in case I click Add another button it fails. So first I need to click outside and then continue.

I just tried with clean and I found out it is caused by this module easy_entity_field ā†’

1.Install easy_entity_field
2.Configure > Enable Content
3.Add any base field (no need to create any content(
4. Try import of any ECA module.

I do have 2 base fields so probably this is the reason why I can see 2 warnings.
When I deleted them - it works as expected. However I cannot remove them on my prod because they are being used.

Can I do import from my test to prod even there are such errors ? ( I believe model should not be impacted).

However it seems this easy_entity_field module is not compatible with ECA or not sure why there is problem with ECA... But easy_entity_field is awesome module...

+ when I go back in browser and refresh I can see following to warnings :

Warning: Undefined array key 1 in Drupal\Core\Config\ConfigManager->findMissingContentDependencies() (line 499 of core\lib\Drupal\Core\Config\ConfigManager.php).
Drupal\Core\Config\ConfigManager->findMissingContentDependencies() (Line: 693)
Drupal\Core\Config\ConfigImporter->processMissingContent(Array) (Line: 561)
Drupal\Core\Config\ConfigImporter->doSyncStep('processMissingContent', Array) (Line: 537)
Drupal\Core\Config\ConfigImporter->import() (Line: 365)
Drupal\eca_ui\Form\Import->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 129)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 67)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 597)
Drupal\Core\Form\FormBuilder->processForm('eca_import', Array, Object) (Line: 325)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

and

Warning: Undefined array key 2 in Drupal\Core\Config\ConfigManager->findMissingContentDependencies() (line 499 of core\lib\Drupal\Core\Config\ConfigManager.php).
Drupal\Core\Config\ConfigManager->findMissingContentDependencies() (Line: 693)
Drupal\Core\Config\ConfigImporter->processMissingContent(Array) (Line: 561)
Drupal\Core\Config\ConfigImporter->doSyncStep('processMissingContent', Array) (Line: 537)
Drupal\Core\Config\ConfigImporter->import() (Line: 365)
Drupal\eca_ui\Form\Import->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 129)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 67)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 597)
Drupal\Core\Form\FormBuilder->processForm('eca_import', Array, Object) (Line: 325)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Hi.

Thank you. I tested it today and now i do have one main model which has entity updtate and it has 3 ways of triggering custom entity event so i was able to change from "update" to "eca custom event" and it seems it is working as expected.

Thank you. When i tried today it worked. Looks like i needed a break. Thanks for your test. Much appreciated.

Thanky you

.so if I use custom event (entity aware) in one model can i load it in second model?

Hi apmsooner - The same for radio-button even I tried with GIN theme.
Do you think you can bring patch for this one also ? (if so I will rename title of this issue)

Thank you.
I am currently busy with other tasks but will reopen if needed later. However good to know i can ignore that warning.

@sakiland - thank you for your patch, it looks like it works fine for Drupal 10.2x however only for nodes. When you try patch #137 to render in modal/dialog/off canvas USER, there is an error:

Error: Call to a member function render() on array in Drupal\Core\Render\MainContent\DialogRenderer->getTitleAsStringable() (line 149 of /core/lib/Drupal/Core/Render/MainContent/DialogRenderer.php).

#0 /core/lib/Drupal/Core/Render/MainContent/OffCanvasRenderer.php(63): Drupal\Core\Render\MainContent\DialogRenderer->getTitleAsStringable()
#1 /core/lib/Drupal/Core/EventSubscriber/MainContentViewSubscriber.php(90): Drupal\Core\Render\MainContent\OffCanvasRenderer->renderResponse()
#2 [internal function]: Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray()
#3 /core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func()
#4 /vendor/symfony/http-kernel/HttpKernel.php(186): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
#5 /vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#6 /core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
#7 /core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#8 /core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#9 /core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
#10 /core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
#11 /core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#12 /core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle()
#13 /core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#14 /core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#15 /core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#16 /core/lib/Drupal/Core/DrupalKernel.php(704): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#17 /index.php(19): Drupal\Core\DrupalKernel->handle()
#18 {main}

Thank you. After I applied your patch new users are not Anonymous anymore.

@van.dordafog thank you your patch #28 works fine for D10.2.5.

However as I already mentioned - #31 - Merge request is not working at all.

@jurgenhaas thank you.

I am trying to combine also with this : User network changes demo, however once I import it I am getting following error when multivariate field does not have currently any value.

Failed execution of Get field value: new networks (Activity_0g3f8fe) from ECA User network changes (eca_lib_0005) for event Drupal\eca_content\Event\ContentEntityUpdate: The provided field field_user_networks does not exist as a property path on the user entity having ID 1..

It is just for the first value, when I tried to add additional one it works fine. Is that normal behavior ?

I think it is because by default there is some value which is blank as shown here:

I just found out this issue was caused when I applied this patch : 094098#comment-15578753 āœØ Provide form display formatter for greying-out a field or hiding it completely Needs review

Merge request !23 from #30 created additional issue described here. Rollback was needed.

3440233 šŸ› Call to undefined method getEntity() Active

Thank you.

I tried with your proposed solution and using multivalue loop but from some reason when i use multivalue field or views as list and try > grater than 0 it works fine...but when i use token set value with multiple fields separated by comma it does not work. So struggling.
I have to debug.
However not sure if I should create 2 tokens - one token with multiple fields which are origin and the second one with entity so i can compare values of 2 tokens but i gues i need to pop up the item using list remove(drop) item first in loop.

Well,

If i go to content type and enable Teaser and will remove all fields > Taxonomy will display just Title of content type (unable to hide title). However when I disable teaser on content type and navigate back to taxonomy - i can see rendered all fields taken from content type and unable to do anything with.

It looks like - it takes teaser and if not enabled it will render everything by default when used field of "Easy Entity Base Field"

So it is definitely a bug. Once there are 1000 + contents - it will display by default for every taxonomy everything which has performance issues.

@apmsooner, thank you so much for your effort. Much appreciated!
It looks good, I don't see any error in logs, however looks like nothing is passing so it seems @jurgenhaas has to review also.

@jurgenhaas I have tried simple model with standard entity reference field to User using this manual : Eca manual and i was able to see if user was added + his name or if user was removed so this worked fine.
However when I changed all parameters to custom field with name "field_resource" (entity reference to user called "name" + one text field called "role" as described on picture above) the first problem is that new_list and origin_list are blank and new_user and original_user is []. When I changed parameter from field_resource to field_resource:name the list value now looks "better" and shows ID of all assigned users, however new_user and original_user are still [].

Another issue is when it passed through Trigger (custom event entity aware) and loaded - it always loads Node id ,instead of user id.

So not sure if anything else has to be updated in custom field or I am missing anything.

@jurgenhaas Can you be so kind and test some simple model to determine the issue ?

Thank you

I just found out that there is similar issue for "Entity:GET Value" which triggers :

event Drupal\eca_content\Event\ContentEntityUpdate: Property value is unknown..

so it seems also standard ECA module needs to handle this first...

Well for the Grouped filters (Exposed) this create an issue because it takes 2.5 seconds to load results with Ajax so user can think that there are 0 results and choose another option.

This problem is connected with 3351448 issue which brings ability to configure timeout as per need. For text field you can configure 2500 if needed , but for filters 500ms is good enough.

So I would suggest to connect both patch together and create one which works for both so instead of :

-timeoutID = setTimeout($.proxy(triggerSubmit, this.form), 2500);
+timeoutID = setTimeout($.proxy(triggerSubmit, this.form), drupalSettings.views_autosubmit.timeout);

as described in 3351448

@apmsooner

-Unfortunately still the same issue, even I applied #10 patch from advised link. I have added like 6-7 so I thought the problem was resolved at first but tried to add 8th one and all got removed :(

Thank You @apmsooner
Patch #10 works for me and I am able to change and save the field.

My bad, you are right. I had enabled update in composer.json for this patch. So it was downloaded automatically.

Thank you.

I am not using Gin because there are issues with module Chosen which i use a lot.
So customer will need to accept that date fields will be in a separated rows.

Looks likes this code is already part of the 8.x-1.3

Hm.
I just installed 3.0.3 version and I can still see that issue :

Warning: Undefined array key "value" in access_by_ref_node_access() (line 112 of modules/contrib/access_by_ref/access_by_ref.module).
access_by_ref_node_access(Object, 'view', Object)
call_user_func_array(Object, Array) (Line: 409)
Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}(Object, 'access_by_ref') (Line: 388)
Drupal\Core\Extension\ModuleHandler->invokeAllWith('node_access', Object) (Line: 416)
Drupal\Core\Extension\ModuleHandler->invokeAll('node_access', Array) (Line: 101)
Drupal\Core\Entity\EntityAccessControlHandler->access(Object, 'view', Object, 1) (Line: 101)
Drupal\node\NodeAccessControlHandler->access(Object, 'view', Object, 1) (Line: 739)
Drupal\Core\Entity\ContentEntityBase->access('view', Object, 1) (Line: 196)
Drupal\node\Entity\Node->access('view', Object, 1) (Line: 68)
Drupal\Core\Entity\EntityAccessCheck->access(Object, Object, Object)
call_user_func_array(Array, Array) (Line: 160)
Drupal\Core\Access\AccessManager->performCheck('access_check.entity', Object) (Line: 136)
Drupal\Core\Access\AccessManager->check(Object, Object, Object, 1) (Line: 113)
Drupal\Core\Access\AccessManager->checkRequest(Object, Object, 1) (Line: 107)
Drupal\Core\Routing\AccessAwareRouter->checkAccess(Object) (Line: 92)
Drupal\Core\Routing\AccessAwareRouter->matchRequest(Object) (Line: 105)
Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(Object, 'kernel.request', Object)
call_user_func(Array, Object, 'kernel.request', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.request') (Line: 157)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Hi @quituo - where can I find this field? It is right after I installed this module so i havenĀ“t created any manually. Hence no idea where to determine it.

As workaround you can use ā†’

I am using field group > html element and creates css "hide_prepoulate" like :

hide_prepoulate {display:none;}

I will add field group called "admin" or so and add fields unders this group which have to be hidden (not visible for user) and add to Extra CSS classes option "hide_prepoulate".

Hello,

For this I am using views.
1.Create entity reference field in Comments content type with reference to Films like you already did and it is called "target_id"
2.Add EPP like you did to entity reference field > target_id: "[current-page:query:target_id]"
Note: You can use anything you want so even target_id: "[current-page:query:aaa]" would work and you can use later aaa instead in link.
3.Create a view with Comments content type
4.Create relationship with tareget_id field
5.To Contextual filters add ID with relationship
6.You can use custom text field or in Header section you can add Global:Text are and put your link there but replace "/node/add/comment1?target_id=2" but "Use replacement tokens from the first row" has to be enabled.
Replace with :
"/node/add/comment1?target_id={{ raw_arguments.nid }} "

7.The same for other fields like customer you can add field to views and update link with anything like :
"/node/add/comment1?target_id={{ raw_arguments.nid }}&customer={{ field_customer_select }}" where of course EPP has to be added to field_customer_select first like field_customer_select: "[current-page:query:customer]"
8.If you are using field groups module, you can also add destination anchored to exact field group.

Now when I upgraded from 3.0.2 to 3.x-dev I can see following error in Status report:
Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.
Easy entity field
The Easy entity field entity type needs to be installed.

Update.php does not resolved the issue.

Looks like it is fixed with 3.x-dev version. Actually the same issue was when I want to install it from the scratch (no upgrade) when I used 3.0.2 version.

Admin should be able to push the same fix for stable version 3.0.2 like it is in dev.

Thank you - you are right. Not recognized at all. Would appreciate your help with this in case you have some spare time to check.

Hi @catch.

Thank you. However in my case it would be quite difficult as we do have our own server which is not directly connected to internet. So new extension for php would require more complex approach but at least we do have some time with this workaround.

And regarding long strings of CSS - do you thing this module ā†’ can help in this case?

Hi, does it mean with this patch I can upgrade to 10.2x without need to install extenstion for php?

(I have to contact server team so they can help me with but that would mean i can use the latest drupal now which is covered by security until php extension is installed by our server team.)

Or i am mistaken and still have to install extension first so need to stuck on 10.0x for a while?

Hi mstrelan,

Thank you. However do i need to still install extension for php or this patch/merge can resolve the issue?

Yes.
Update.php showed 1 or 2 pending updates and successfully updated. No issues.
However status report still shows the same and when i try to update field manually -re save the same issue.

I just applied patch from Merge request 70 (3386133), but still the same issue as reported in #28.

I dont see patch #4 in commit 94a2ab3d.

However patch #4 resolved the issue.

Hi joaopauloc.dev,

Your patch 3344587-required-fields-that-59-with-fix.patch worked for me.

Hello,

Thank you! Your patch works as expected and finally I can use drupal in subdirectory as requested.
Much appreciated.

Hi JordiK,

After I have applied your patch #59 it seems it does not work as it should. It always "forget" to update some values.

I can confirm - there is no issue with 3.x-dev, Is is possible to back-port this fix to 2.x-dev version also please?

I can confirm for both - it works as expected. Can be closed or maybe you can back-port also to version 2.0.1 aslo. But 2dev works for me.

Thank you,

I can confirm it works for 3.x dev.

Hello apmsooner,

Looks like the first "formated" issue was resolved. So now when I save a content with long text there is no issue in log.
However when you try the same with views there is still the same problem.

1.Create a new view
2.Add Custom field with long text
3.Try preview it.
4.Check logs.

Even in 3-dev version I can see following :

Warning: Undefined array key "formatted" in Drupal\custom_field\Plugin\CustomField\FieldFormatter\TextDefaultFormatter->formatValue() (line 28 of \web\modules\contrib\custom_field\src\Plugin\CustomField\FieldFormatter\TextDefaultFormatter.php)
Production build 0.69.0 2024