realityloop → created an issue.
I can confirm this issue was causing test fails for toggle_editable_fields module, I had to add the following to the ci task so that it would pass:
.composer-base:
before_script:
- composer require drupal/libraries:^4.0 --no-update
after_script:
- mkdir $_WEB_ROOT/modules/contrib/libraries/config/optional
- mv $_WEB_ROOT/modules/contrib/libraries/config/install/libraries.settings.yml $_WEB_ROOT/modules/contrib/libraries/config/optional/libraries.settings.yml
realityloop → created an issue.
I've just added a check that the columns exist in the ip_login_update_9002() install hook
perhaps becauuse my DB is already converted:
drush updb -y
---------- ----------- --------------- ---------------------------------------------------------------
Module Update ID Type Description
---------- ----------- --------------- ---------------------------------------------------------------
ip_login 9002 hook_update_n 9002 - Migrate ip address values from old field to new table.
ip_login 9003 hook_update_n 9003 - Remove single value IP Login field from User entity.
---------- ----------- --------------- ---------------------------------------------------------------
// Do you wish to run the specified pending updates?: yes.
> [notice] Update started: ip_login_update_9002
> [error] SQLSTATE[42S22]: Column not found: 1054 Unknown column 'ip_login__ip_start' in 'field list': SELECT uid, ip_login__ip_start, ip_login__ip_end
> FROM users_field_data
> WHERE ip_login__ip_start IS NOT NULL; Array
> (
> )
>
> [error] Update failed: ip_login_update_9002
[error] Update aborted by: ip_login_update_9002
[error] Finished performing updates.
does not currently apply to dev branch, I've just updated the MR, apologies for losing individual commits, I exported patches for each of them before rebasing dev in attached archive
realityloop → made their first commit to this issue’s fork.
To test or use this:
To add the module to your project you need to ensure that the repositories section of your composer file includes the text below:
"repositories": {
"drupal": {
"type": "composer",
"url": "https://packages.drupal.org/8",
"exclude": [
"drupal/toggle_editable_fields"
]
},
"drupal/toggle_editable_fields": {
"type": "git",
"url": "https://git.drupalcode.org/issue/toggle_editable_fields-3488832.git"
},
"minhur/bootstrap-toggle": {
"type": "package",
"package": {
"name": "minhur/bootstrap-toggle",
"version": "1.0.0",
"type": "drupal-library",
"dist": {
"url": "https://github.com/minhur/bootstrap-toggle/archive/master.zip",
"type": "zip"
}
}
}
},
Once you have done this you install the correct version of the module using the following composer command:
composer require drupal/toggle_editable_fields:dev-3488832-update-for-drupal
Tests are passing locally:
ddev phpunit modules/contrib/toggle_editable_fields
PHPUnit 9.6.21 by Sebastian Bergmann and contributors.
Testing /var/www/html/web/modules/contrib/toggle_editable_fields
.. 2 / 2 (100%)
Time: 00:08.826, Memory: 12.00 MB
OK (2 tests, 48 assertions)
HTML output was generated
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_LoadTest-1-25831524.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_LoadTest-2-25831524.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_LoadTest-3-25831524.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_LoadTest-4-25831524.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-1-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-2-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-3-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-4-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-5-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-6-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-7-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-8-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-9-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-10-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-11-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-12-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-13-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-14-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-15-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-16-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-17-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-18-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-19-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-20-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-21-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-22-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-23-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-24-82704371.html
http://localhost:8080/sites/simpletest/browser_output/Drupal_Tests_toggle_editable_fields_Functional_ToggleEditableFieldsUiTest-25-82704371.html
realityloop → created an issue.
realityloop → created an issue.
Tome maintainer has made a d11 fork here https://git.drupalcode.org/project/tome/-/merge_requests/29
realityloop → created an issue.
@mirom
Getting the following error locally, the node in question doesn't have any added fields that are date fields:
brian@drupal-foundry-web:/var/www/html$ drush tome:install -y
// You are about to DROP all tables in your local database and re-install Tome. Do you want to continue?: yes.
In SiteProcess.php line 214:
The command "/var/www/html/vendor/bin/drush tome:import --yes --uri=https://drupal-foundry.ddev.site" failed.
Exit Code: 1(General error)
Working directory:
Output:
================
[ERROR] Errors encountered when importing content:
[ERROR] Error when running "'/var/www/html/vendor/bin/drush' 'tome:import-content'
'node.92365dea-5736-4f30-8b0b-c7e6b5585b98'":
[warning] Undefined array key "end_value" SmartDateNormalizer.php:40
[error] Error: Call to a member function getTimestamp() on null in
Drupal\serialization\Normalizer\TimestampNormalizer->denormalize() (line 39 of
/var/www/html/web/core/modules/serialization/src/Normalizer/TimestampNormalizer.php) #0
/var/www/html/web/modules/contrib/smart_date/src/Normalizer/SmartDateNormalizer.php(40):
Drupal\serialization\Normalizer\TimestampNormalizer->denormalize()
#1 /var/www/html/vendor/symfony/serializer/Serializer.php(238):
Drupal\smart_date\Normalizer\SmartDateNormalizer->denormalize()
#2 /var/www/html/web/modules/contrib/smart_date/src/Normalizer/SmartDateItemNormalizer.php(45):
Symfony\Component\Serializer\Serializer->denormalize()
#3 /var/www/html/web/core/modules/serialization/src/Normalizer/FieldItemNormalizer.php(33):
Drupal\smart_date\Normalizer\SmartDateItemNormalizer->constructValue()
#4 /var/www/html/vendor/symfony/serializer/Serializer.php(238):
Drupal\serialization\Normalizer\FieldItemNormalizer->denormalize()
#5 /var/www/html/web/core/modules/serialization/src/Normalizer/FieldNormalizer.php(47):
Symfony\Component\Serializer\Serializer->denormalize()
#6 /var/www/html/vendor/symfony/serializer/Serializer.php(238):
Drupal\serialization\Normalizer\FieldNormalizer->denormalize()
#7 /var/www/html/web/core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php(152):
Symfony\Component\Serializer\Serializer->denormalize()
#8 /var/www/html/web/core/modules/serialization/src/Normalizer/EntityNormalizer.php(59):
Drupal\serialization\Normalizer\EntityNormalizer->denormalizeFieldData()
#9 /var/www/html/vendor/symfony/serializer/Serializer.php(238):
Drupal\serialization\Normalizer\EntityNormalizer->denormalize()
#10 /var/www/html/web/modules/contrib/tome/modules/tome_sync/src/Importer.php(272):
Symfony\Component\Serializer\Serializer->denormalize()
#11 /var/www/html/web/modules/contrib/tome/modules/tome_sync/src/Importer.php(215):
Drupal\tome_sync\Importer->loadEntityFromStorage()
#12 /var/www/html/web/modules/contrib/tome/modules/tome_sync/src/Commands/ImportContentCommand.php(34):
Drupal\tome_sync\Importer->importContent()
#13 /var/www/html/vendor/symfony/console/Command/Command.php(279):
Drupal\tome_sync\Commands\ImportContentCommand->execute()
#14 /var/www/html/vendor/symfony/console/Application.php(1047):
Symfony\Component\Console\Command\Command->run()
#15 /var/www/html/vendor/symfony/console/Application.php(316):
Symfony\Component\Console\Application->doRunCommand()
#16 /var/www/html/vendor/symfony/console/Application.php(167): Symfony\Component\Console\Application->doRun()
#17 /var/www/html/vendor/drush/drush/src/Runtime/Runtime.php(110):
Symfony\Component\Console\Application->run()
#18 /var/www/html/vendor/drush/drush/src/Runtime/Runtime.php(40): Drush\Runtime\Runtime->doRun()
#19 /var/www/html/vendor/drush/drush/drush.php(139): Drush\Runtime\Runtime->run()
#20 /var/www/html/vendor/drush/drush/drush(4): require('...')
#21 /var/www/html/vendor/bin/drush(119): include('...')
#22 {main}.
Error: Call to a member function getTimestamp() on null in
/var/www/html/web/core/modules/serialization/src/Normalizer/TimestampNormalizer.php on line 39 #0
/var/www/html/web/modules/contrib/smart_date/src/Normalizer/SmartDateNormalizer.php(40):
Drupal\serialization\Normalizer\TimestampNormalizer->denormalize()
#1 /var/www/html/vendor/symfony/serializer/Serializer.php(238):
Drupal\smart_date\Normalizer\SmartDateNormalizer->denormalize()
#2 /var/www/html/web/modules/contrib/smart_date/src/Normalizer/SmartDateItemNormalizer.php(45):
Symfony\Component\Serializer\Serializer->denormalize()
#3 /var/www/html/web/core/modules/serialization/src/Normalizer/FieldItemNormalizer.php(33):
Drupal\smart_date\Normalizer\SmartDateItemNormalizer->constructValue()
#4 /var/www/html/vendor/symfony/serializer/Serializer.php(238):
Drupal\serialization\Normalizer\FieldItemNormalizer->denormalize()
#5 /var/www/html/web/core/modules/serialization/src/Normalizer/FieldNormalizer.php(47):
Symfony\Component\Serializer\Serializer->denormalize()
#6 /var/www/html/vendor/symfony/serializer/Serializer.php(238):
Drupal\serialization\Normalizer\FieldNormalizer->denormalize()
#7 /var/www/html/web/core/modules/serialization/src/Normalizer/FieldableEntityNormalizerTrait.php(152):
Symfony\Component\Serializer\Serializer->denormalize()
#8 /var/www/html/web/core/modules/serialization/src/Normalizer/EntityNormalizer.php(59):
Drupal\serialization\Normalizer\EntityNormalizer->denormalizeFieldData()
#9 /var/www/html/vendor/symfony/serializer/Serializer.php(238):
Drupal\serialization\Normalizer\EntityNormalizer->denormalize()
#10 /var/www/html/web/modules/contrib/tome/modules/tome_sync/src/Importer.php(272):
Symfony\Component\Serializer\Serializer->denormalize()
#11 /var/www/html/web/modules/contrib/tome/modules/tome_sync/src/Importer.php(215):
Drupal\tome_sync\Importer->loadEntityFromStorage()
#12 /var/www/html/web/modules/contrib/tome/modules/tome_sync/src/Commands/ImportContentCommand.php(34):
Drupal\tome_sync\Importer->importContent()
#13 /var/www/html/vendor/symfony/console/Command/Command.php(279):
Drupal\tome_sync\Commands\ImportContentCommand->execute()
#14 /var/www/html/vendor/symfony/console/Application.php(1047):
Symfony\Component\Console\Command\Command->run()
#15 /var/www/html/vendor/symfony/console/Application.php(316):
Symfony\Component\Console\Application->doRunCommand()
#16 /var/www/html/vendor/symfony/console/Application.php(167): Symfony\Component\Console\Application->doRun()
#17 /var/www/html/vendor/drush/drush/src/Runtime/Runtime.php(110):
Symfony\Component\Console\Application->run()
#18 /var/www/html/vendor/drush/drush/src/Runtime/Runtime.php(40): Drush\Runtime\Runtime->doRun()
#19 /var/www/html/vendor/drush/drush/drush.php(139): Drush\Runtime\Runtime->run()
#20 /var/www/html/vendor/drush/drush/drush(4): require('...')
#21 /var/www/html/vendor/bin/drush(119): include('...')
#22 {main}
[warning] Drush command terminated abnormally.
Error Output:
================
As the meetings are largely async now.. Yes I should be able to
realityloop → created an issue.
Working on Drupal 11.0.4
Confirmed working for me
Works on my project
Working on my project
Working in my project
realityloop → created an issue.
realityloop → created an issue.
realityloop → created an issue.
I've just hit the same errors as @heddn
This change appears to be in place on 3.3.x-dev already now.
@Chandansha unfortunately I'm not sure the error will occur with every site, it was in the dblog with ours though.
realityloop → created an issue.
updated .ino.yml and composer.json to allow D11
realityloop → made their first commit to this issue’s fork.
realityloop → made their first commit to this issue’s fork.
realityloop → created an issue.
realityloop → made their first commit to this issue’s fork.
realityloop → created an issue.
unable to create a branch using 2.x as basis, creating new issue
realityloop → created an issue.
realityloop → made their first commit to this issue’s fork.
realityloop → made their first commit to this issue’s fork.
realityloop → created an issue.
realityloop → created an issue.
realityloop → made their first commit to this issue’s fork.
realityloop → created an issue.
realityloop → created an issue.
realityloop → made their first commit to this issue’s fork.
realityloop → made their first commit to this issue’s fork.
realityloop → made their first commit to this issue’s fork.
realityloop → made their first commit to this issue’s fork.
hestenet → credited realityloop → .
hestenet → credited realityloop → .
Just before COVID I had decided to cut down on international travel for environmental impact reasons and time away from family.
Even when I was sponsored to be at events there was always non-insignificant out of pocket costs for me to attend.
Mentoring meetings used to be at a time when I was either asleep, or getting my kids ready for school.
Time in general is fairly full with family and life commitments.
I am still interested in being involved, but unsure how much value I can provide if I'm not going to be at events?
I do miss seeing you all in person though!
This issue just caused me nearly a day of lost time with tests failing and trying to figure out why, have removed the module from the project now.
change resolves this error
realityloop → created an issue.
Superceded by https://www.drupal.org/project/layout_paragraphs/issues/3366968 🐛 Paragraph & Layout labels are not showing Needs review
Re-rolled https://git.drupalcode.org/project/layout_paragraphs/-/merge_requests/132 so it applies to current dev and passes again
realityloop → made their first commit to this issue’s fork.
realityloop → created an issue.
An additional change was required https://git.drupalcode.org/issue/wpf-3456349/-/commit/1b9246944a7436fafb...
realityloop → made their first commit to this issue’s fork.
This resolves the issue on my project.
realityloop → made their first commit to this issue’s fork.
I can confirm this patch works, can we please get a stable release supporting D10?
@acbramley given access and maintainer access granted back to you as well @dww
hestenet → credited realityloop → .
hestenet → credited realityloop → .
Can confirm #3 is working for us at least.
realityloop → created an issue.
Updated due to https://www.drupal.org/project/druxt/issues/3418785 🐛 Symfony\Cmf\Component\Routing\RouteObjectInterface is deprecated in Drupal 9.1 (and hence removed in 10.0). Closed: duplicate
realityloop → made their first commit to this issue’s fork.
realityloop → created an issue.
Tried #7 and still getting error
An error has occurred.
Continue to the error page
An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /batch?id=150&op=do_nojs&op=do
StatusText: error
ResponseText: The website encountered an unexpected error. Try again later.PhpOffice\PhpSpreadsheet\Reader\Exception: Unable to identify a reader for this file in PhpOffice\PhpSpreadsheet\IOFactory::createReaderForFile() (line 172 of /var/www/html/vendor/phpoffice/phpspreadsheet/src/PhpSpreadsheet/IOFactory.php). PhpOffice\PhpSpreadsheet\IOFactory::load('/var/www/html/web/sites/default/files/views_data_export/user_admin_people_data_export_1/1-1706833150/.xls') (Line: 849)
Drupal\views_data_export\Plugin\views\display\DataExport::processBatch('user_admin_people', 'data_export_1', Array, Array, 20174, Array, '/', Array) (Line: 296)
_batch_process() (Line: 138)
_batch_do() (Line: 94)
_batch_page(Object) (Line: 52)
Drupal\system\Controller\BatchController->batchPage(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: 54)
Drupal\simple_oauth\HttpMiddleware\BasicAuthSwap->handle(Object, 1, 1) (Line: 41)
Drupal\ip_login\StackMiddleware\IpLoginMiddleware->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: 53)
Asm89\Stack\Cors->handle(Object, 1, 1) (Line: 78)
Drupal\ip_login\StackMiddleware\EarlyIpLoginMiddleware->handle(Object, 1, 1) (Line: 270)
Drupal\shield\ShieldMiddleware->bypass(Object, 1, 1) (Line: 137)
Drupal\shield\ShieldMiddleware->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)