Updated to Drupal 10.3.10:
services:
# Allow use string how twig templates.
twig.extension.stringloader:
class: Twig\Extension\StringLoaderExtension
tags:
- { name: 'twig.extension' }
Updated issue status, I changed it before by mistake.
Merged and released in v1.0.4 : )
With drush I can remove the versión number to refresh the table:
$ drush config:set browscap.settings version 0
I just checked the ddev installation, and now the database is empty, too. :/ I don't know why.
Thx to u :_ D
@juandels3 , please, could you release the 1.0.x-dev branch?
I fix a minimal style issue in README.md.
I added a output to the field formatter.
I extend the field widget to allow select any bundable content entity type in widget settings.
Yes, I've already changed it, it was hard to find where... I found instructions in the issue of another project https://www.drupal.org/project/form_mode_manager/issues/3399176 📌 Set correct default branch (8.x-2.x) in GitLab Fixed
Regards :)
In the hook_ENTITY_TYPE_predelete PHPStan fail with the message:
Call to deprecated method deleteRevision() of interface
Drupal\Core\Entity\EntityStorageInterface:
in drupal:10.1.0 and is removed from drupal:11.0.0. Use
\Drupal\Core\Entity\RevisionableStorageInterface::deleteRevision instead.
We only need add a var type comment to the $storage variable:
// Delete checkout country alerts that belong to this account.
/** @var \Drupal\Core\Entity\RevisionableStorageInterface $storage */
$storage = \Drupal::entityTypeManager()->getStorage('my_custom_entity');
I added "/** @var" line, and PHPStan go OK.
I see it OK, but I don't tested it.
I'm so busy, when I get free I will try it, or apply it if anyother tested it.
Thx so much
fjgarlin → credited psf_ → .
I get the issue error so many times in my site, and I don't know why. I started to see it after update to D10.1, or D10.2. I added the patch from the MR 6299, and it not fix my errors:
Warning: Undefined array key "function" in Drupal\Core\Utility\Error::decodeException() (line 70 of core/lib/Drupal/Core/Utility/Error.php).
Drupal\Core\Utility\Error::decodeException(Object) (Line: 69)
Drupal\Core\EventSubscriber\ExceptionLoggingSubscriber->onError(Object) (Line: 118)
Drupal\Core\EventSubscriber\ExceptionLoggingSubscriber->onException(Object, 'kernel.exception', Object)
call_user_func(Array, Object, 'kernel.exception', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.exception') (Line: 239)
Symfony\Component\HttpKernel\HttpKernel->handleThrowable(Object, Object, 1) (Line: 91)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
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: 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: 741)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
We are using D10.3.2, update many times from D9.5, with Olivero subtheme, and so many custom and contrib modules.
Sorry for not get more information, I hope that this trace get the trick.
I do the change by Chris64 in #19.
I'm sorry, I don't know how do the interdiff.
Hi, thanks for the offer. I've already added you as a co-maintainer. I believe I've given you the necessary permissions, if you need anything else just ask.
After a clean install we get this error.
The contrib module csv_imported is affected the same way of core.
Issue: https://www.drupal.org/project/csv_importer/issues/3468099#comment-15743933 💬 No available releases found with Drupal 10.3.2 Active
We have a issue open in core: https://www.drupal.org/project/drupal/issues/3470230 🐛 No available releases found Active
I see the same error with Drupal core 10.3.1. The not available version message appear in this module and in core. Maybe a problem with the update service and not with this module?
psf_ → created an issue.
Fix conflicts with 8.x-1.x branch.
The last commit fix the comment #13.
#45 work for me too.
Hi, thx by the report.
I just upload a new update to the DEV branch, could you try it?
In this line:
$token = empty($token) ? $this->getApiToken() : '';
"$this->getApiToken()" can return a NULL value if the user don't configure the module.
I change your commit with:
public function getClient(string $token = ''): Client {
if (empty($token)) {
$token = $this->getApiToken();
}
$token = !$token ? '' : $token;
return \OpenAI::client($token);
}
But I don't tested it.
Merged, thx : ))
Hi,
The library that we use to connect to OpenAI have compatiblity with tests: https://github.com/openai-php/client?tab=readme-ov-file#testing
But I don't have time to implement it, can anyone create tests?
Hi, thx by the patch.
I have some notes:
- In "src/OpenAIClientWrapper.php" you were erased all comments, it's are required by code styling that we have comments.
- In the protected method getApiToken() we can't send any status message, because that will spawn the user with messages. This method is called so many times.
I see, thx : ) It's merged
Hi @aman_lnwebworks,
Thx by the patch.
What PHP version are you using?
Is this issue about Drupal core? I don't see relation between system.date/country.default and currency module.
Hi, I want to note that the workaround does not work with custom entities that have field groups in them.
Great solution in #8. Maybe it should be added to the documentation?
psf_ → created an issue.
Hi, I will anote some related information. :)
Workaround: https://drupal.stackexchange.com/questions/253978/how-do-i-allow-full-ht...
+1 here :) . I'm using Drupal 10.2.5
alvar0hurtad0 → credited psf_ → .
+1
Thx : )
Thx :)
If we have more that one importer for a entity type, the "Select importer" input don't filter by permissions.
After select entity type the module display a select with all plugins of selected entity type.
Sorry :_ D
Work for me, but it need a bit of debug.
I'll move the 'CSV Importer' menu link from the 'Configuration > Development' section to the 'Content' section to improve accessibility and relevance. This change aligns the import feature with content-related functionalities, making it more intuitive for content editors and administrators who commonly use this feature as part of their content workflows.
I'm working on this. : )
psf_ → created an issue. See original summary → .
Here are a guide that could be useful: https://befused.com/drupal/ultimate-cron/
All code is committed in dev branch.
Fixes code style in dev branch: https://git.drupalcode.org/project/openai_client/-/commit/f7d7f08fea1f7c...
Please, if anyone can review it...
Ignore my last comment : )) I will commit it.
Thx : )
Nice see this issue patch : ))
Could you commit the to the issue folk?
Thx
#9 tested with version 1.0.0-beta6. Work for me.
In buildForm() I have:
$form['legal_links'] = [
'#type' => 'multivalue',
'#title' => $this->t('Legal links'),
'#description' => $this->t('Links to legal documents in the enrollment form. Leave empty a row to remove it.'),
'#cardinality' => MultiValue::CARDINALITY_UNLIMITED,
'#default_value' => $links,
'link_title' => [
'#type' => 'textfield',
'#title' => $this->t('Title'),
'#description' => $this->t('To include a link, please provide a title as well.'),
],
'link' => [
'#type' => 'textfield',
'#title' => $this->t('Link'),
'#maxlength' => 2048,
'#element_validate' => [[static::class, 'validateUriElement']],
'#link_type' => LinkItemInterface::LINK_GENERIC,
'#description' => $this->t(
'You can enter an internal path such as %add-node or an external URL such as %url. Enter %front to link to the front page. Enter %nolink to display link text only. Enter %button to display keyboard-accessible link text only.',
[
'%front' => '<front>',
'%add-node' => '/node/add',
'%url' => 'http://example.com',
'%nolink' => '<nolink>',
'%button' => '<button>',
]
),
],
];
And to save, in submitForm():
$this->config('mymodule.settings')
->set('legal_links', $form_state->getValue('legal_links'))
->save();
+1
I added this issue to the module description.
Thx
New updated patch in https://git.drupalcode.org/project/phone_international/-/merge_requests/... , MR 12 in this issue.
The patch in #9 don't work for me.
To do the work I need to change
autoPlaceholder: "polite",
to
autoPlaceholder: "off",
in js/phone_international.js
I will try to do a new patch.
penyaskito → credited psf_ → .
Nice, thx for the job.
The next time I will install PHPcs before publish code. I use it daily but when I created the module don't have it installed.
If anyone want integrate PHPcs in DDEV, I writed this commands: https://gist.github.com/PSF1/aedf54d8a62e192e72c9de616ac6e04e