Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Zend\Config\Processor\Token converts boolean to string #5772

Closed
b0nd0 opened this issue Jan 31, 2014 · 1 comment
Closed

Zend\Config\Processor\Token converts boolean to string #5772

b0nd0 opened this issue Jan 31, 2014 · 1 comment
Assignees
Milestone

Comments

@b0nd0
Copy link

b0nd0 commented Jan 31, 2014

i am trying to use Zend\Config\Processor\Constant
on something like

[
  "key1" => "MYCONST/some/path",
  "key2" => false
]

and after process() call i got

[
  "key1" => "/full/path/to/some/path",
  "key2" => ""
]

not sure if this is intentional

Ocramius added a commit to Ocramius/zf2 that referenced this issue Jan 31, 2014
Config key types are not retained when applying a config processor
Ocramius added a commit to Ocramius/zf2 that referenced this issue Jan 31, 2014
@Ocramius
Copy link
Member

Provided a hotfix at #5573

@Ocramius Ocramius added this to the 2.2.6 milestone Mar 4, 2014
@Ocramius Ocramius self-assigned this Mar 4, 2014
weierophinney added a commit that referenced this issue Mar 4, 2014
…ssor-booleans

Hotfix for #5772: token processor should not cast booleans to strings
gianarb pushed a commit to zendframework/zend-config that referenced this issue May 15, 2015
Config key types are not retained when applying a config processor
gianarb pushed a commit to zendframework/zend-config that referenced this issue May 15, 2015
weierophinney added a commit to zendframework/zend-config that referenced this issue May 15, 2015
…fix/issue-zendframework/zf2#5772-token-processor-booleans

Hotfix for zendframework/zendframework#5772: token processor should not cast booleans to strings
weierophinney added a commit to zendframework/zend-config that referenced this issue May 15, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants