Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Whilst deploying the image having focal point across the environment(Eg. Dev to Stage), focal point does not gets deployed on the higher environment in the 1st attempt when uploading the image from media browser (media module). We used work around i.e. would require to deploy it twice to get the focal points deployed on the higher environments. This is issue is due to unsupported media widget type "media_generic" in focal point module which was leading to this issue.
Proposed resolution
Applied patch to support widget type of media module (media_generic).
Remaining tasks
NA
User interface changes
NA
API changes
NA
Data model changes
NA
Comment | File | Size | Author |
---|---|---|---|
#2 | focal_point_deploy_issue_using_media_module_d7_2910498_2.patch | 1.07 KB | prashantgajare |
Comments
Comment #2
prashantgajare CreditAttribution: prashantgajare as a volunteer and commentedAdded a patch to support media module widget type viz "media_generic"
Comment #3
prashantgajare CreditAttribution: prashantgajare as a volunteer and commentedComment #4
prashantgajare CreditAttribution: prashantgajare as a volunteer and commentedComment #5
bleen CreditAttribution: bleen at NBCUniversal commentedAre there steps I can follow on a vanilla Drupal install where I can see this issue occur and then compare that to what happens with your patch
Comment #6
prashantgajare CreditAttribution: prashantgajare as a volunteer and commentedHi @bleen
Sure! Below are the steps to reproduce this issue.
Steps to reproduce the issue :
1) Load the vanilla drupal setup with deploy, focal point and media modules and enable all.
2) Create a content type having image field and set the widget as in it.
3) Add above content type on source and destination environments so that it can be deployed across.
4) Create a content using above content type on source environment and add an image via media browser image widget.
5) Add the created content on the deploy plan and deploy the content to the destination environment.
6) On 1st deploy image file is deployed but focal point not as media widget type i.e. "media_generic" is not supported in focal point module.
Let me know if any thing else is required.
Thanks
Comment #7
prashantgajare CreditAttribution: prashantgajare as a volunteer and commented