Account created on 16 July 2015, over 9 years ago
#

Recent comments

Per the thread above - I used the commands and rather than set a drush or composer alias, I set my aliases to derivatives of drush and composer, that way I have the "system" siteground drush/composer for my drupal 7 site as I transition it to drupal 10. 

My .bash_profile:

alias composer10='php83 /usr/local/bin/composer.phar'
alias drush10='/usr/local/php83/bin/php-cli ./vendor/drush/drush/drush'

10 being for drupal 10.

Please reopen - this happens on 10.3 and 10.4 for sure -
1. have theme debug on
2. make a view with fields
3. in unformatted list setting select the title field, make sure remove tags in rendered output is off

Click apply,

If the unformatted list setting has remove tags in rendered out on - the twig stuff goes away, but the grouped fields do not have links.

I was having similar issues - also when aggregation did work the numbers were wonky. I removed the sort - default is authored on. Things worked fine, then I added the sort I wanted and things worked. 

This was a count of content per content type - I used type for the group and counted titles. 

I came across when I was getting site encountered and error. I got to that by installing table responsive modules, which required that I turn them on in the "/admin/config/content/formats/manage/basic_html?destination=/admin/config/content/formats."

When doing so, got the error, log reported:
Uncaught PHP Exception RuntimeException: "Adding non-existent permissions to a role is not allowed. The incorrect permissions are "view block_title on block_content", "view dynamic_token_field:node-card_link on node", "view node_title on node"." at /.../core/modules/user/src/Entity/Role.php line 210

Interestingly, the ckeditor settings were applied and tables are responsive :)

This issue made me look at the sites permissions, click save, got the same error.

The dynamic_token_field:node-card_link in the error was due to a display suite field I had deleted sometime ago. I re-added it and added to a test content the CKeditor save error when away, but the permissions error remained.

I manually applied patch #11 as other had noted. Had bit of trouble with copy/paste, so I went slow. First, I commented out the "-" line. Errors went away. Then added:

foreach ($invalid_permissions as $invalid_permission) {
$this->revokePermission($invalid_permission);
}

Everything works. I could re-delete my no longer loved ds field.

My question is how do we know the foreach is doing what we think it is doing. Removing the exception prevents the crash, but is the problem solved?

I'm not a deep drupal dev. So, not sure.

Finally returning to this.
Thanks @debra-v, path #12 works great. Data are correct, substitution of names for codes is working properly.

Sure - in the demo view
select settings for commonmap
set map provider leaflet
go to data layers & features
check marker cluster
check marker popup
click apply
check the preview
none of the markers cluster,
I can click a marker, but just get a blue box
mousing over shows some data.

What I want is the markers to cluster
Be able to click an icon, get a title, and click the title to navigate to content as if I had selected the Leaflet format option.
Does that help?

The patches are not working on my system.

I went installed sdc_block, after sdc_display, patches applied. Enabling sdc_block, makes my site not work. Error below.

Uninstall, removing the whole lot (sdc_display & sdc_block, the site comes back. Starting with sdc_block, install, patches apply, enable … crash. Uninstall, remove, comes back.

I can install sdc_display, apply patches, enable and the site works.

[30-Jul-2024 10:00:16 America/Los_Angeles] Uncaught PHP Exception Drupal\Core\Render\Component\Exception\InvalidComponentException: "[props.title] Object value found, but a string is required" at /Users/todd/Sites/btc-d10/public_html/core/lib/Drupal/Core/Theme/Component/ComponentValidator.php line 121

I was missing that I needed to run [composer require cweagans/composer-patches]

Did that, patch applied, no more crash. Thanks

I tried too, but I do not thing it is working - getting applied.

My composer

 "extra": {  
        "patches": {
            "drupal/cl_editorial": {
                "#3456850: Support Drupal 10.3 SDC deprecation": "https://git.drupalcode.org/project/cl_editorial/-/merge_requests/12.patch"
            }
        },
... other items
}

> composer update drupal/cl_editorial
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating autoload files

visit the site - unexpected error, php log shows same error. How can I tell if a patch has been applied?

My composer

 "extra": {  
        "patches": {
            "drupal/cl_editorial": {
                "#3456850: Support Drupal 10.3 SDC deprecation": "https://git.drupalcode.org/project/cl_editorial/-/merge_requests/12.patch"
            }
        },
... other items
}

> composer update drupal/cl_editorial
Loading composer repositories with package information
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Nothing to install, update or remove
Generating autoload files

visit the site - unexpected error, php log shows same error. How can I tell if a patch has been applied?

I didn't even get that far. Tried installing, enabling and website encountered an issue.

[27-Jul-2024 12:59:18 America/Los_Angeles] Uncaught PHP Exception TypeError: "Drupal\cl_editorial\NoThemeComponentManager::__construct(): Argument #1 ($pluginManager) must be of type Drupal\sdc\ComponentPluginManager, Drupal\Core\Theme\ComponentPluginManager given, called in .../core/lib/Drupal/Component/DependencyInjection/Container.php on line 261" at .../modules/contrib/cl_editorial/src/NoThemeComponentManager.php line 23

Was the above testing with compact layout density. When I have that set the buttons are missing. Switching back to default, they reappear

I'm seeing the same issue in views - cannot change settings unless I right click, open in new tab (ie no modal)

its happens on 10.3 and with gin admin theme too - I upgraded and the secondary tabs were not formatted correctly. Just a list like the added screen shots in several issues.

This issue is occurring on the 2.0 brach as well. When I looked at the code it was not updated. I'm not a developer can we get a patch?

Production build 0.71.5 2024