Created on 9 January 2018, almost 7 years ago
Updated 23 February 2024, 10 months ago

Are there any plans on porting this module to Drupal 8?

I'm available to assist with the porting.

Thanks!

πŸ’¬ Support request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain bmunslow

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States uberhacker

    Attached is a patch for Drupal 9/10 compatibility. To install @bmunson's Drupal 8 port and apply this patch, do the following:

    Edit composer.json and add...

        "repositories": [
            {
                "type": "package",
                "package": {
                    "name": "bmunslow/drupal8-badbehavior",
                    "version": "dev-master",
                    "type": "drupal-module",
                    "extra": {
                        "installer-name": "badbehavior"
                    },
                    "source": {
                        "url": "https://github.com/bmunslow/drupal8-badbehavior.git",
                        "reference": "master",
                        "type": "git"
                    }
                }
            }
       ],
    ...
        "extra": {
            "patches": {
                "bmunslow/drupal8-badbehavior": [
                    "patches/badbehavior-d10.patch"
                ]
            }
        },
    

    Do not replace the entire repositories and extra sections but add if there are already existing repositories and/or patches.
    Then run:

    composer install
    

    Ideally, these changes should eventually go into a 9.x branch in this project but this is a workaround until the maintainers have the time and willingness to update.

  • πŸ‡ΊπŸ‡ΈUnited States uberhacker

    I noticed there was an error when attempting to access the logs. The attached patch fixes `Symfony\Component\HttpKernel\Exception\ControllerDoesNotReturnResponseException: The controller must return a "Symfony\Component\HttpFoundation\Response" object but it returned a string ("Bad Behavior is not installed correctly. See the README.txt for installation details.")`. Please disregard the earlier patch.

Production build 0.71.5 2024