Problem/Motivation

[COMMIT_HASH]

355d1259c71296be4e73ca8f6fb3df21696a9925

[RESULTS_OUTPUT]

------ ---------------------------------------------------
Line src/IconsetFinderService.php
------ ---------------------------------------------------
57 Call to deprecated function drupal_get_profile().
------ ---------------------------------------------------

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Comments

Adrianm6254 created an issue. See original summary.

Snehal Brahmbhatt’s picture

Status: Active » Needs review
StatusFileSize
new653 bytes

@Adrianm6254, Please find the below-attached patch for the same, kindly review it and let me know if any further changes are required.

Thanks

john cook’s picture

The patch from #2 looks good.

Running drupal-check after patching shows:

./vendor/bin/drupal-check modules/contrib/social_media_links/
 41/41 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%


 [OK] No errors                                                                                                         

Marking as RTBC.

jayasree.e’s picture

Status: Needs review » Reviewed & tested by the community
john cook’s picture

Status: Reviewed & tested by the community » Needs work
Issue tags: +Novice

I've run the patch against upgrade status. There is still an outstanding error:

$ drush us-a social_media_links
 [notice] Processing /var/www/drupalvm/drupal/web/modules/contrib/social_media_links.
 41/41 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%


================================================================================
Social Media Links Block,  8.x-2.6
Scanned on Thu, 05/28/2020 - 10:02

FILE: web/modules/contrib/social_media_links/social_media_links.info.yml

STATUS         LINE                           MESSAGE                           
--------------------------------------------------------------------------------
Check manually 0    Add `core_version_requirement: ^8 || ^9` to      
                    social_media_links.info.yml to designate that the module is 
                    compatible with Drupal 9. See                               
                    https://drupal.org/node/3070687.                            
--------------------------------------------------------------------------------

Because of this I've set the status back to Needs work, and added the Novice tag for adding the core_version_requirement option.

mrinalini9’s picture

Assigned: Unassigned » mrinalini9
mrinalini9’s picture

Assigned: mrinalini9 » Unassigned
Status: Needs work » Needs review
StatusFileSize
new1.09 KB
new365 bytes

Updated patch and added 'core_version_requirement' as mentioned in #5, please review.

drupal.ninja03’s picture

Status: Needs review » Reviewed & tested by the community

Tested the patch and running drupal-check shows 0 errors.

 41/41 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%


 [OK] No errors
naveenvalecha’s picture

+++ b/social_media_links.info.yml
@@ -1,4 +1,5 @@
\ No newline at end of file

Small Nitpick: This could be addressed during commit.

naveenvalecha’s picture

StatusFileSize
new1.66 KB
new1.04 KB

Attached the new patch.

trebormc’s picture

#10 works fine. Thanks

jasondmichaelson’s picture

+1 on patch 10 working fine

taran2l’s picture

StatusFileSize
new2.14 KB
new762 bytes

The core key mst be removed. Tested this on D9.1.x. Works fine.

segovia94’s picture

#13 applied cleanly and works in fresh Drupal 8 and 9 sites.

neslee canil pinto’s picture

Status: Reviewed & tested by the community » Needs work

Patches needs a reroll

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2196  100  2196    0     0   1864      0  0:00:01  0:00:01 --:--:--  1865
error: patch failed: modules/social_media_links_field/social_media_links_field.info.yml:1
error: modules/social_media_links_field/social_media_links_field.info.yml: patch does not apply
narendra.rajwar27’s picture

working on it. will update shortly

narendra.rajwar27’s picture

Status: Needs work » Needs review
StatusFileSize
new1.62 KB

Re-rolled patch from comment #13.

neslee canil pinto’s picture

Status: Needs review » Needs work

@narendra.rajwar27 i can say SML will support drupal 8, so better to specify core_version_requirement: ^8 || ^9.

narendra.rajwar27’s picture

@Neslee Canil Pinto thanks for the review, In that case we also need core key. SInce core_version_requirement introduced from drupal 8.8 version.

EDIT: Working on it will update shortly.

narendra.rajwar27’s picture

StatusFileSize
new1.63 KB
new815 bytes

Updating patch as per comment #18
Thanks

narendra.rajwar27’s picture

Status: Needs work » Needs review

Oops..forget to change status. Setting to Needs Review.

neslee canil pinto’s picture

Status: Needs review » Fixed

Committed to dev

naveenvalecha’s picture

@Neslee Canil Pinto
Thanks for committing!
Would you care to cut a new release.

neslee canil pinto’s picture

@naveenvalecha ya i have to go with couple of other issues to be committed and then have a release tagged with it soon👍🏻

neslee canil pinto’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.