44/44 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------ -------------------------------------------------
Line drush/httpbl.drush.inc
------ -------------------------------------------------
98 Call to deprecated function drush_log().
102 Call to deprecated function drush_log().
112 Call to deprecated function drush_log().
116 Call to deprecated function drush_log().
120 Call to deprecated function drush_get_option().
127 Call to deprecated function drush_get_option().
130 Call to deprecated function drush_log().
135 Call to deprecated function drush_get_option().
159 Call to deprecated function drush_log().
174 Call to deprecated function drush_log().
189 Call to deprecated function drush_log().
193 Call to deprecated function drush_log().
222 Call to deprecated function drush_log().
225 Call to deprecated function drush_log().
229 Call to deprecated function drush_log().
------ -------------------------------------------------
------ -----------------------------------------------------
Line drush/phpstorm.drush.inc
------ -----------------------------------------------------
37 Call to deprecated function drush_get_option().
38 Call to deprecated function drush_invoke_process():
See Drush::drush().
------ -----------------------------------------------------
------ -------------------------------------------------------------------------
Line httpbl.install
------ -------------------------------------------------------------------------
106 Call to deprecated function db_delete():
as of Drupal 8.0.x, will be removed in Drupal 9.0.0. Instead, get
a database connection injected into your service from the container and
call delete() on it. For example,
------ -------------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line httpbl.module
------ ----------------------------------------------------------------------
146 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
250 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
289 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/Form/HostDeleteForm.php
------ ----------------------------------------------------------------------
142 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
154 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/Form/HostForm.php
------ ----------------------------------------------------------------------
206 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
234 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/Form/HostMultipleBanConfirm.php
------ ----------------------------------------------------------------------
265 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
281 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/Form/HostMultipleDeleteConfirm.php
------ ----------------------------------------------------------------------
193 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
201 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/Form/HostMultipleGreylistConfirm.php
------ ----------------------------------------------------------------------
210 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
226 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
230 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/Form/HostMultipleRefreshConfirm.php
------ ----------------------------------------------------------------------
238 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
250 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
262 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/Form/HostMultipleUnbanConfirm.php
------ ----------------------------------------------------------------------
183 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
229 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
233 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/Form/HostMultipleWhitelistConfirm.php
------ ----------------------------------------------------------------------
210 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
226 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
230 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/Form/HttpblConfigForm.php
------ ----------------------------------------------------------------------
39 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
291 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
301 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
306 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/Form/HttpblWhitelistForm.php
------ ----------------------------------------------------------------------
199 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
------ ------------------------------------------------------------------------------------------
Line src/Future/HttpblManager.php
------ ------------------------------------------------------------------------------------------
12 Class Drupal\httpbl\Future\HttpblManagerInterface not found and could not be autoloaded.
------ ------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------------------------------------------------------------------------
Line src/Future/HttpblManagerInterface.php
------ ----------------------------------------------------------------------------------------------------------------------------------------
Class Drupal\httpbl\HttpblManagerInterface was not found while trying to analyse it - autoloading is probably not configured properly.
------ ----------------------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------------------
Line src/HttpblEvaluator.php
------ ----------------------------------------------------------------------
282 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
577 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
586 Call to deprecated function drupal_set_message():
in Drupal 8.5.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Messenger\MessengerInterface::addMessage() instead.
------ ----------------------------------------------------------------------
------ -------------------------------------------------------
Line src/Plugin/views/field/CronExpireDate.php
------ -------------------------------------------------------
77 Call to deprecated function format_date():
in Drupal 8.0.0, will be removed before Drupal 9.0.0.
Use \Drupal::service('date.formatter')->format().
------ -------------------------------------------------------
------ -------------------------------------------------------------------------------------------------------------------------
Line src/Plugin/views/field/HostBulkForm.php
------ -------------------------------------------------------------------------------------------------------------------------
12 Class Drupal\httpbl\Plugin\views\field\HostBulkForm extends deprecated class Drupal\system\Plugin\views\field\BulkForm:
in Drupal 8.5.x, will be removed before Drupal 9.0.0. Use
\Drupal\views\Plugin\views\field\BulkForm instead.
------ -------------------------------------------------------------------------------------------------------------------------
------ ----------------------------------------------------------
Line src/Plugin/views/field/ProjectLinkHost.php
------ ----------------------------------------------------------
48 Call to deprecated method l() of class Drupal:
in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Link instead.
Example:
------ ----------------------------------------------------------
------ ----------------------------------------------------------
Line src/Plugin/views/field/ProjectLinkSource.php
------ ----------------------------------------------------------
50 Call to deprecated method l() of class Drupal:
in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
Use \Drupal\Core\Link instead.
Example:
------ ----------------------------------------------------------

[ERROR] Found 55 errors

Issue fork httpbl-3096773

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

Deeksha B created an issue. See original summary.

Deeksha B’s picture

Status: Active » Needs review
StatusFileSize
new44.73 KB

Please review the patch.

Deeksha B’s picture

Issue summary: View changes
anybody’s picture

Is there any plan for a Drupal 8 / 9 release?

roman.haluska’s picture

StatusFileSize
new56 KB

I have updated the patch. Tested with 9.1.3 core.

roman.haluska’s picture

StatusFileSize
new56.67 KB

Added one small fix. Please use this one.

maxilein’s picture

After applying the patch from #6 upon upgrading to D9.1.6 from (8.9.13) while executing

drush updb

results :

...

In YamlDiscovery.php line 24:
>
>   /var/www/html/modules/contrib/httpbl/httpbl.routing.yml: Duplicate key "_pe
>   rmission" detected at line 65 (near "_permission: 'ban IP addresses'").
>
>
> In YamlSymfony.php line 40:
>
>   Duplicate key "_permission" detected at line 65 (near "_permission: 'ban IP
>    addresses'").
>
>
> In Parser.php line 345:
>
>   <strong>Duplicate key "_permission" detected at line 65 </strong>(near "_permission: 'ban IP
>    addresses'").
>
>

In ProcessBase.php line 155:

<strong>  Output is empty.</strong>

There the code says:


httpbl.banned_hosts:
  path: '/admin/config/people/host/list/banned'
  defaults:
    _title: 'Http:BL Banned Hosts'
  requirements:
     _permission: 'admin httpbl hosts'
     _permission: 'ban IP addresses'

Should just the last line ( _permission: 'ban IP addresses') be deleted?

maxilein’s picture

I deleted the last line.

Then ran updb again:

 [notice] Update started: node_post_update_glossary_view_published
>  [error]  Invalid data type in config httpbl.schema, found in file modules/contrib/httpbl/config/schema/httpbl.schema.yml: Duplicate key "httpbl_message_black" detected at line 52 (nea                                                                                r "  label: 'Greylist message'").
>  [error]  Update failed: node_post_update_glossary_view_published
 [error]  Update aborted by: node_post_update_glossary_view_published
 [error]  Finished performing updates.

I changed:

        httpbl_message_black:
          type: string
          label: 'Greylist message'

to

        httpbl_message_grey:
          type: string
          label: 'Greylist message'

Then it worked!

mrweiner’s picture

StatusFileSize
new57.11 KB

Fixing the bug noted in #7. The permissions need to be in the same _permission key, separated by a comma per https://www.drupal.org/docs/drupal-apis/routing-system/structure-of-routes. I'm assuming they are both required, not either/or.

kaipipek’s picture

Any change publishing a Drupal 9 compatible release soon?

KurtTrowbridge made their first commit to this issue’s fork.

kurttrowbridge’s picture

^I admit I don't know if I did that merge request correctly, but I created a merge request using the patch in #9, and it applied successfully to my site.

mrweiner’s picture

Status: Needs review » Fixed

Thanks all, this is finally in!

Status: Fixed » Closed (fixed)

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