πŸ‡ΌπŸ‡ΈSamoa @ainsofs

Account created on 13 December 2015, over 8 years ago
#

Recent comments

πŸ‡ΌπŸ‡ΈSamoa ainsofs

Hi @senzaesclusiva , you can try this approach https://www.drupal.org/docs/develop/using-composer/using-drupals-lenient... β†’ ie

1. Add this patch using https://github.com/cweagans/composer-patches
2. Install this package `composer require mglaman/composer-drupal-lenient`
3. Add this setup `composer config --merge --json extra.drupal-lenient.allowed-list '["drupal/remote_image"]'`
4. Run `composer install` if the patch didnt get applied

πŸ‡ΌπŸ‡ΈSamoa ainsofs

Apologies if I missed up the git repo I tried to delete the first branch 3384128-token-values-not but wasnt allowed. I didnt create a merge request for the second branch as there were other commits coming up too. Here is the patch which I am using:

https://git.drupalcode.org/issue/views_any_route-3384128/-/commit/b01ad7...

πŸ‡ΌπŸ‡ΈSamoa ainsofs

I couldnt get this example to work. I was using minimal profile and had to install the link module, but then it complained that "CurrentCompanyLinkItem" did not exist.

Following this example, I was able to get it working. I noticed that one uses

hook_entity_base_field_info (not working)
hook_entity_base_field_info_alter (worked)
I was trying to implement approach 2.2
Also I did not know this discuss feature existed until I wanted to post a link to the working example (which someone had already posted). Might be useful to display comments on the article to help others.
πŸ‡ΌπŸ‡ΈSamoa ainsofs

I found this page after having similar problems but after reviewing this page β†’ I found my issue. I am using a different subdomain for front and back ends.

I was missing

withCredentials: true

in the header. You need to have that for BOTH login and logout calls

You also need

supportsCredentials: true

In your services.yml file

πŸ‡ΌπŸ‡ΈSamoa ainsofs

#9 worked for me. Thnx a lot!

πŸ‡ΌπŸ‡ΈSamoa ainsofs

The duplicate issue is pointing to version 4.x but this is version 3.x. Would the patch for 4.x work on 3.x?

πŸ‡ΌπŸ‡ΈSamoa ainsofs

#2 worked for me thnx. Not sure how to track down which module is causing it as suggested by @poker10

πŸ‡ΌπŸ‡ΈSamoa ainsofs

In case someone comes across a class not found error, I found the solution in the registry autoload πŸ› PHP8 compatibility issue for namespace tokens Fixed module

πŸ‡ΌπŸ‡ΈSamoa ainsofs

Worked for me. Thanks so much! Been trying to figure out what was breaking Service Container πŸ› PHP8 compatibility. Needs review in PHP 8 but it was this.

Production build 0.69.0 2024