It still would be handy to have an exclude argument. In my case, I need to sync all entities except for webform_submission Presently I need to add every entity type to the command line each time I sync
neubreed → created an issue.
neubreed → created an issue.
And if you have a carousel or images in your section, omit stripping img tags (or any other tags) with:
{% if children|render|raw|striptags('<img>')|spaceless is not empty %}
<section {{ attributes }}>{{ children }}</section>
{% endif %}
Otherwise the section will be considered empty
This is happening in Drupal 9.5.11 in 2023
That's great to hear @Amstercad .. I stopped using Radix a while back. Now it looks to support BS5, so I think I'll give Radix another go.
Cheers!
Hi all. the Gitlab repository mentioned in #12 no longer exists .. Is webpack planned to be implemented into this theme?
Getting php 8.1+ deprecation warning with the above patch
Deprecated function: trim(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\feeds\Feeds\Target\Uuid->prepareValue() (line 57 of /app/web/modules/contrib/feeds/src/Feeds/Target/Uuid.php)
Thanks for getting back to me. Unfortunately, the feed doesn't even start and doesn't become locked.
/feed/1/unlock presents an access denied page. (probably because no lock exists)
The function that catches the LockException doesn't display the error message that was thrown. Only the generic error 'The feed became locked before the import could begin'. It would be useful to at least see the exception message
protected function import(FeedInterface $feed) {
try {
$feed->lock();
}
catch (LockException $e) {
$this->messenger->addWarning($this->t('The feed became locked before the import could begin.'));
return;
}
$feed->clearStates();
$this->createBatch($feed, static::FETCH)
->addOperation(static::FETCH)
->run();
}
neubreed → created an issue.
neubreed → created an issue.
Hi Dylan Okay .. I finally discovered a PHP error that could possibly (most likely) be stopping the import:
PHP Fatal error: Class Drupal\feeds_ldap\Feeds\Result\QueryFetcherResult contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (Drupal\feeds\Result\FetcherResultInterface::cleanUp) in /home/my-sharing/public_html/web/modules/contrib/feeds_ldap/src/Feeds/Result/QueryFetcherResult.php on line 10
I'm using PHP 8.1
Thanks Dylan.
I appreciate you getting back to me so quickly.
By custom source do you mean New Blank source...? See the below pic of available options when selecting a source
https://i.imgur.com/PI2XcMJ.png
I've tried adding blank sources with matching attribute names (lowercase) But the feed returns the same error "The feed became locked before the import could begin." No entries in watchdog. Ultimate Cron has no errors etc
The query is working when I test it via /admin/config/people/ldap/query/my_ad_sync/test
The query settings
https://i.imgur.com/AaD7Bco.png
Server settings (? replaces sensitive info):
uuid: ??
langcode: en
status: true
dependencies: { }
id: ad_profile_sync
label: 'Ad profiles sync'
type: default
address: ?.?.?.?
port: ???
timeout: 30
encryption: ssl
weight: null
bind_method: service_account
binddn: 'CN=???,OU=Service Accounts,OU=Tier2,OU=Admin,DC=??,DC=????'
bindpw: '*******'
based:
- 'DC=??,DC=??'
user_attr: mail
account_name_attr: ''
mail_attr: ''
mail_template: mail
picture_attr: ''
unique_persistent_attr: cn
unique_persistent_attr_binary: false
user_dn_expression: 'dc=??,dc=????'
testing_drupal_username: srv_gce_ad_drupal_p
testing_drupal_user_dn: 'CN=??????,OU=Service Accounts,OU=Tier2,OU=Admin,DC=??,DC=??'
grp_unused: false
grp_object_cat: ''
grp_nested: false
grp_user_memb_attr_exists: false
grp_user_memb_attr: ''
grp_memb_attr: ''
grp_memb_attr_match_user_attr: ''
grp_derive_from_dn: true
grp_derive_from_dn_attr: dc
grp_test_grp_dn: ''
grp_test_grp_dn_writeable: ''
In addition to the above, I set up and import feed. When I run that I get this error: "The feed became locked before the import could begin." There's nothing in the logs with a better explanation and I have all logging / debugging turned on where I could find the option to.
neubreed → created an issue.
I tried the patch on the other issue and it didn't fix 2.0 release. Hence posting this issue.
I installed dev and the error went away. Looks like we'll have to stick with the dev release for now. ;)
neubreed → created an issue.
Hi John,
Thanks for working on this so quickly . I've had a play with the new submodule and my registration default state is set to "Complete" and I don't think the EventSubscriber onUpdate is executed when someone registers. If I login to the admin and edit the registration the onUpdate event subscriber is executed
if (($from_state !== $to_state) && $registration->isComplete()) {
By this point my from_state and to_state are both complete. So the email doesn't get sent
It would be good if the email gets sent on insert without admin intervention
Some further information ..
I've set the the registration schedule to 1 minute after Registration completed
Person registers at 05/26/2023 - 13:23
Multiple manual cron runs:
05/26/2023 - 13:30 Cron run completed.
05/26/2023 - 13:30
05/26/2023 - 13:30
05/26/2023 - 13:31
05/26/2023 - 13:31
05/26/2023 - 13:32
05/26/2023 - 13:32
05/26/2023 - 13:33
05/26/2023 - 13:34
registration_scheduled_action 05/26/2023 - 13:37 Sent registration confirmation email to matt@… neubreed
smtp 05/26/2023 - 13:37 Sending mail to: matt@liquidcommunications.com.au (…
Hi John. I think the problem was with my mail configuration. There was nothing in the logs to indicate that it failed to send. Only when the email was successfully sent.
I agree with selecta in that it would be great to have the scheduled action be triggered after a user registers. The hosting platform I use only runs the cron once an hour which I can't change unfortunately. An instant email confirmation is something that would be useful / common.
Hi there John. Yes I ran the cron and nothing happened.
neubreed → created an issue.
neubreed → created an issue.
Same issue for me
Same issue for me. I fixed by downloading the modules again:
rm -rf web/modules/contrib/bootstrap_*
composer install
Unfortunately I'm not good at Plugins .. I did try but not as comprehensive as yours. Thanks for adding this so quickly. Works great, with the added bonus of Registration count and Spaces reserved. Tops!
neubreed → created an issue.
Anyone looking the issue is here:
https://www.drupal.org/project/drupal/issues/3344910 🐛 Ajax error on views with aggregation Postponed: needs info