Problem/Motivation

There is currently a check for the configuration variable 'debug_info'. But this checks if the variable is empty and not if it's true or false.

Steps to reproduce

Set the local variable to 0 and check if you still get logs.

Proposed resolution

Change the if statement to check for true or false.

Remaining tasks

- Write a patch
- Review the patch
- deploy the patch.

User interface changes

none.

API changes

none

Data model changes

TBD

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:

  • main Comparecompare

Comments

Arantxio created an issue. See original summary.

arantxio’s picture

Status: Active » Needs review
StatusFileSize
new3.18 KB

Made changes so it checks if the variable is set and if it's either true or false.

arantxio’s picture

StatusFileSize
new3.5 KB

Adjusted the default configuration so that debug_info starts as 0/FALSE.

batigolix’s picture

Issue tags: -Bug report +finalist-sprint
roaldnel’s picture

Status: Needs review » Reviewed & tested by the community

The patch was tested and everything seems to be working as expected.

  • roaldnel committed 3422a84a on main authored by Arantxio
    Issue #3328783 by Arantxio: debug_info variable doesn't check true or...
batigolix’s picture

Assigned: arantxio » Unassigned
Status: Reviewed & tested by the community » Fixed
roaldnel’s picture

Version: 1.0.0 » 1.0.1

Released in version 1.0.1.

Status: Fixed » Closed (fixed)

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