Comments

guptahemant created an issue. See original summary.

rahulrasgon’s picture

Assigned: Unassigned » rahulrasgon
Status: Active » Needs work
rahulrasgon’s picture

Assigned: rahulrasgon » Unassigned
Status: Needs work » Needs review
StatusFileSize
new6.77 KB

Patch uploaded, please review.

Thanks

hardik_patel_12’s picture

Assigned: Unassigned » hardik_patel_12
Status: Needs review » Needs work
hardik_patel_12’s picture

StatusFileSize
new5.82 KB

@rahulrasgon replaced logger factory with messenger service for drupal_set_message

hardik_patel_12’s picture

Assigned: hardik_patel_12 » Unassigned
Status: Needs work » Needs review
rahulrasgon’s picture

Assigned: Unassigned » rahulrasgon
Status: Needs review » Needs work
rahulrasgon’s picture

Assigned: rahulrasgon » Unassigned
Status: Needs work » Needs review
StatusFileSize
new5.94 KB
new2.61 KB

Refactored the code. here's a fixed patch and interdiff.

hardik_patel_12’s picture

Status: Needs review » Reviewed & tested by the community

Thanks for the fixes @rahulrasgon. I have tested patch and it is working fine.

lilit_ghazaryan’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new7.47 KB
new1.39 KB

9/9 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

------ ------------------------------------------------------------------
Line modules/onetrust_cookie_blocking/onetrust_cookie_blocking.module
------ ------------------------------------------------------------------
95 Call to deprecated function file_default_scheme():
in drupal:8.8.0 and is removed from drupal:9.0.0. Use
\Drupal::config('system.file')->get('default_scheme') instead.
99 Call to deprecated function file_default_scheme():
in drupal:8.8.0 and is removed from drupal:9.0.0. Use
\Drupal::config('system.file')->get('default_scheme') instead.
------ ------------------------------------------------------------------

[ERROR] Found 2 errors

updated patch and no errors

9/9 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

[OK] No errors

aliaksandr_rozum’s picture

Status: Needs review » Reviewed & tested by the community

Hi @Lilit_Ghazaryan!
Your patch is fine.

drupal-check web/modules/contrib/gdpr_onetrust/
 9/9 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
 [OK] No errors
gobinathm’s picture

Assigned: Unassigned » gobinathm
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

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