+
Please accept the merge request, or the patch 📌 Automated Drupal 11 compatibility fixes for seven Needs review .
This is blocking a lot of Drupal sites from updating to Drupal 11, since even if you apply the patch using composer patches, the update to Drupal 11 is not working.
Tbh I have not found the reason yet why this is happening. For some reason within the composer.lock file is showing the following lines.
{
"name": "drupal/seven",
"version": "1.0.0",
"source": {
"type": "git",
"url": "https://git.drupalcode.org/project/seven.git",
"reference": "1.0.0"
},
"dist": {
"type": "zip",
"url": "https://ftp.drupal.org/files/projects/seven-1.0.0.zip",
"reference": "1.0.0",
"shasum": "88e86926388c7e6cf66b0502d13a0470ce2399cd"
},
"require": {
<strong>"drupal/core": "^9 || ^10"</strong>
},
Which is causing the update to D11 to fail.
So my assumption was that there is a composer.json within the contrib theme which is revering to D9 and D10 which also needs to be adjusted. But ... there is no composer.json and so I am wondering why I got that reference to drupal/core 9 and 10 within my composer.lock file.
This has been resolved in 3.0.4
Hey @Chetan,
this has also already been fixed in our latest dev release some days ago :-)
https://git.drupalcode.org/project/cms_content_sync/-/commit/c9de9fc47cd...
We are going to push a new release for it in the upcoming days.
Best Regards,
Sebastian
The issue also exists for D10 and V2.1.0
For some reason, #21 did not apply for me correctly for Version 2.1.0 of the module.
I simply recreated it based on the 2.1.0 and it started working :-)
Hi @shiv_yadav, yes correct, it is not loaded. But the dependency should be automatically be handled by composer and not manually by the user.
So when the user does "composer require drupal/easychart", the highchart library should be downloaded automatically to the correct libraries folder.
At the moment the highchart library gets downloaded, but the module is looking within the wrong directory for it.
Is:
/libraries/highcharts/code/highcharts-more.js?v=10.1.0 net::ERR_ABORTED 404
Should be:
/libraries/highcharts/js/highcharts-more.js
Thanks Dave, got it!
That would be very nice to have, thanks for adding it to the feature request list :)
The same issue reoccured in 2.0.x-dev. The patch also need to be applied there as well.
Hi Gangu :)
why are you trying to install Version 2.1?
The latest supported release is 2.2.15 :-)
You should be able to resolve this by setting
"minimum-stability": "dev",
In your composer.json.
Best regards,
Sebastian