Bug #30955
TYPO3_CONF_VARS not checking all keys correctly
| Status: | Rejected | Start date: | 2011-10-15 | |
|---|---|---|---|---|
| Priority: | Must have | Due date: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| Votes: | 0 |
Description
TYPO3_CONF_VARS not checking all keys correctly. When an underscore is present it use only the last part of the key
for example when I set this configuration:
GFX|im_negate_mask==1
it returns
Not Matched Conditions:
Variable-Path GLOBALS|TYPO3_CONF_VARS|mask did not match the expectation "1"
if there aren't underscore everything goes right:
GFX|gdlib 1
returns
Matched Conditions:
Variable-Path GLOBALS|TYPO3_CONF_VARS|GFX|gdlib matched the expectation == "1"
Thanks
David
History
Updated by David Denicolo' over 1 year ago
Using regexp it works:
GFX|im_version_5:regex:/gm|^$/
Matched Conditions:
Variable-Path GLOBALS|TYPO3_CONF_VARS|GFX|im_version_5 matched the regular expression /gm|^$/