@quietone
Its not related to MediaElemet.js module - I did test a lot with it. Its just a javascript player library, I checked the module code as well. I moved the mp3 file from private to public, the timeline / progress bar was working.
shafiqhossain → created an issue.
@priti197
Could not apply patch! Skipping. The error was: Cannot apply patch https://www.drupal.org/files/issues/2024-11-22/commerce_migrate-check_nu... →
shafiqhossain → created an issue.
I am still facing the issue with redundant "field_" prefix while migrating.
We have a field collection named as "field_field_rep_products_price". While migrating its breaks on "upgrade_d7_field_instance". its searching an entity id "rep_products_price" which is NOT correct but in D10, its actually created a paragraph_type with correct name "paragraphs.paragraphs_type.field_rep_products_price". As a results migration breaks.
[error] Missing bundle entity, entity type paragraphs_type, entity id rep_products_price. web\core\lib\Drupal\Core\Entity\EntityType.php:916
shafiqhossain → created an issue.
As it mentioned in the AccountForm.php, this process is called twice:
/**
* {@inheritdoc}
*/
public function buildEntity(array $form, FormStateInterface $form_state) {
// Change the roles array to a list of enabled roles.
// @todo Alter the form state as the form values are directly extracted and
// set on the field, which throws an exception as the list requires
// numeric keys. Allow to override this per field. As this function is
// called twice, we have to prevent it from getting the array keys twice.
I debugged, in the first call "roles" key is there. But in the second call, "roles" is absent.
I faced the similar issue, posted here,
https://www.drupal.org/project/drupal/issues/3477465
🐛
TypeError: key(): Argument #1 ($array) must be of type array, null given in key() (line 368 of /public_html/web/core/modules/user/src/AccountForm.php)
Active
I checked with new Drupal 10 dump with a image field added into user entity, the issue does not persist there.
But For my existing site, I literally uninstalled all custom modules and most of the contributed modules, but still getting issue. So dump the $form_state->getValues() there and see if "roles" values are there, but its not. I got this:
Array
(
....
[3] => field_test_picture
....
[20] => field_user_other_website
[21] => field_user_picture
[23] => field_user_state
[24] => field_user_twitter
[25] => field_user_youtube
.....
[26] => path
[27] => user_picture
[28] => submit
[29] => form_build_id
[30] => form_token
[31] => form_id
[32] => contact
[33] => field_test_picture_0_upload_button
[34] => mail
[35] => pass
[36] => field_parent_account
shafiqhossain → created an issue.
shafiqhossain → created an issue.
I have updated the #31 patch with additional adjustments
The issue is that, the field "field_guest_email", in my case, is not an email field. I see ECA previous/ non html action "send email", do not validate the token as email field. But the new "Send Html Mail" action doing the validation and I can't use/update my old ECA rules.
I am receiving the same error message like this
action "Send HTML email" (Send HTML Email to Guest): Enter a valid email address or use a token email address such as [node:author:mail].
I used a field value token ([node:field_guest_email:value]) for mail, but its not accepting it while saving, showing that error.
I am using Drupal 10.3, patch #31 can't be applied for ECA 2.0 but #11 works.
But I am getting another error while saving the rules:
action "Send HTML email" (Send HTML Email to Guest): Enter a valid email address or use a token email address such as [node:author:mail].
I used a field value token ([node:field_guest_email:value]) for mail, but its not accepting it. How we can fix it?
@kalavan is correct.
I have updated the to 2.0.0, still having the same problem. I see @shadowwolf218 recommendation is implemented, but its not working for me. The main reason is that, in the player, ".mediaelementjs" referenced multiple times, that breaks the player.
So I have created a patch for it.
And again I am using 4.2.x version of the player. Currently its 7.0.x. Using this patch the player is working, but there is a change after 4.2.x, the location of mejs-controls.svg file, its now in configuration. Using 7.0 player version, console shows its missing, as a result the main play button is missing. For that, I think path of mejs-controls.svg need to provide, which actually can be done through standalone call.
iconSprite: 'mejs-controls.svg'
Here is the patch
shafiqhossain → created an issue.
My opinion:
I see lot of sites are migrating from Drupal to elsewhere everyday. I think major issue is that, there are lot of potential contributed modules, which were in Drupal 7, either not migrated to Drupal 10, or not in stable or stay behind the Drupal version.
A simple example, Drupal Commerce module or Ubercart. Using Drupal 9/10 I did not able to deliver a complete eCommerce site yet. Either related modules are not migrated or currently using old API or giving error due to jQuery migration, or PHP version mismatch or third party API dependency version not matched or behind the Drupal version (e.g. Payment gateway modules, Shipping modules or Market place modules). And I am stuck with that for long. Previously in Drupal 7 we have lot of modules. And surely eCommerce is a major part of any CMS.
This is similar for other modules. Its sure there are lot of modules migrated, but still there are lot of modules left as well. For two clients, I am unable to migrate from 9.5 to 10, because some of the modules, still don't have any Drupal 10 release.
Due to this, all projects are in limbo. What to say to the client? Client will not accept to wait further to move on. I think for this reason, developers have to move on into another platform.
BTW, I am willing to help in any projects to move on!
shafiqhossain → created an issue.
shafiqhossain → created an issue.
Update:
This error is linked to Field Layout core module. The error start showing when I was trying to uninstall the Field Layout module. Rather showing the confirmation, it shows the error. Then whatever module I tried to uninstall, it shows the same error.
So I re-installed the RDF module. After some time (I don't know what I did), I see I can see other modules un-install confirmation page. And when I tried to uninstall the Field Layout module, it start showing the error, and keep showing when I tried other modules to un-install.
shafiqhossain → created an issue.