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
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | debug-info-variable-3328783-3.patch | 3.5 KB | arantxio |
| #2 | debug-info-variable-3328783-2.patch | 3.18 KB | arantxio |
Issue fork cm_commerce-3328783
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
Comment #2
arantxioMade changes so it checks if the variable is set and if it's either true or false.
Comment #3
arantxioAdjusted the default configuration so that debug_info starts as 0/FALSE.
Comment #4
batigolixComment #5
roaldnel commentedThe patch was tested and everything seems to be working as expected.
Comment #7
batigolixComment #8
roaldnel commentedReleased in version 1.0.1.