- Issue created by @Anirban Das
- ๐ฎ๐ณIndia Shreya_98
Shreya_th โ made their first commit to this issueโs fork.
- @shreya_th opened merge request.
- ๐ฎ๐ณIndia sarwan_verma
i have fixed this issue Remove the "core" key from the audio_embed_media.info.yml file, created patch and shared screenshot as well.
- Status changed to Needs review
over 1 year ago 12:44pm 5 September 2023 - ๐ฎ๐ณIndia noorulshameera
@Shreya_th I have verified the MR looks good and fixes the issue. RTBC+1
@sarwan no need to update from core_version_requirement key ^8.8 || ^9 || ^10 to ^8 || ^9 || ^10. just need to remove the core key from modules/contrib/audio_embed_field/modules/audio_embed_media/audio_embed_media.info.yml. this will fix the issue.
- Status changed to Needs work
over 1 year ago 10:31pm 14 September 2023 - ๐ต๐ญPhilippines kenyoOwen
Hi Shreya_th
I reproduced the error and tested your patch, confirmed it removes the error and can enable the module, but the best approach was the MR but the MR failed to apply in my local. Please look at the screenshot I attached for your reference
Thank you
- ๐ฎ๐ณIndia Shreya_98
@kenyoOwen sorry from my side . i made changes in verion 8.x-2.x . I am working on this and will make changes in latest version.
- ๐ฎ๐ณIndia Shreya_98
Hi @kenyoOwen , Can you tell whether you have cloned it or installed it from composer and what are the configuration?
- ๐ฎ๐ณIndia omkar-pd
@kenyoOwen please apply this patch https://git.drupalcode.org/project/audio_embed_field/-/merge_requests/8/... and check.
MR looks good.
@sarwan the core_version_requirment key will not work in version < 8.7
Check here:- https://www.drupal.org/node/3070687 โ - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
-core_version_requirement: ^8.8 || ^9 || ^10 +core_version_requirement: ^8 || ^9 || ^10
The existing line is correct; the changed line is not, as it would imply the module can be installed on any Drupal 8 release, while Drupal 8.7.7 and previous releases would throw an error because they do not recognize the
core_version_requirement
key. - ๐ฎ๐ณIndia Shreya_98
Hi @apaderno ,
Do I have to make changes this:
- core_version_requirement: ^8.8 || ^9 || ^10
+ core_version_requirement: ^8 || ^9 || ^10
in info.yml file.
Please confirm. Thank you - ๐ฎ๐ณIndia shubham_jain
Hi @shreya_th, I agree with @apaderno you have to remove that and add ^8.8 in place of ^8.
Please remove that and raise pr.
- Status changed to Needs review
over 1 year ago 1:18pm 18 September 2023 - ๐ฎ๐ณIndia Shreya_98
Hi @apaderno ,
I had made changes according to your requirement i.e. -
- core_version_requirement: ^8.8 || ^9 || ^10
+ core_version_requirement: ^8 || ^9 || ^10 and
created MR for this. Kindly review the changes.Thank you.
- Status changed to Closed: outdated
12 months ago 4:53pm 3 January 2024 - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
The .info.yml file is already not using the
core
value.name: Audio Embed Field type: module description: 'Provides a field type for displaying audio from 3rd party providers such as Soundcloud.' package: Audio configure: audio_embed_field.admin_settings_form core_version_requirement: ^8.8 || ^9 || ^10 dependencies: - drupal:field - drupal:image
Therefore, there is nothing more that needs to be fixed.
- ๐ฆ๐ทArgentina cesarmiquel
The
core
entry is not in the main module but is inside the submoduleaudio_embed_media
. That's why this patch is needed.
- Status changed to Needs work
12 months ago 5:21pm 3 January 2024 - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
@cesarmiquel I got it. Then MR 9 is totally wrong.
- Merge request !10Issue #3385128: Remove the "core" key from the audio_embed_media.info.yml file โ (Open) created by apaderno
- Status changed to Needs review
12 months ago 5:30pm 3 January 2024 - ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
apaderno โ changed the visibility of the branch 3385128-2 to hidden.
- ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
apaderno โ changed the visibility of the branch 3385128-1 to hidden.
- ๐ฎ๐นItaly apaderno Brescia, ๐ฎ๐น
The
core_version_requirement: ^8.8 || ^9 || ^10
line is correct. It cannot be changed tocore_version_requirement: ^8 || ^9 || ^10
because previous Drupal 8 versions cannot handle a core_version_requirement
line.