Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

Closed
b0nd0 opened this Issue · 1 comment

2 participants

@b0nd0

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 Ocramius referenced this issue from a commit in Ocramius/zf2
@Ocramius Ocramius Adding failing test to demostrate #5772
Config key types are not retained when applying a config processor
3e3769d
@Ocramius
Collaborator

Provided a hotfix at #5573

@Ocramius Ocramius added this to the 2.2.6 milestone
@Ocramius Ocramius self-assigned this
@gianarb gianarb referenced this issue from a commit in zendframework/zend-config
@Ocramius Ocramius Adding failing test to demostrate zendframework/zf2#5772
Config key types are not retained when applying a config processor
a1236b0
@gianarb gianarb referenced this issue from a commit in zendframework/zend-config
@Ocramius Ocramius Applying hotfix for zendframework/zf2#5772 - key/value replacements a…
…lso apply recursively
86d7e98
@weierophinney weierophinney referenced this issue from a commit in zendframework/zend-config
@weierophinney weierophinney Merge pull request zendframework/zf2#5773 from Ocramius/hotfix/issue-…
…zendframework/zf2#5772-token-processor-booleans

Hotfix for zendframework/zf2#5772: token processor should not cast booleans to strings
711fb5d
@weierophinney weierophinney referenced this issue from a commit in zendframework/zend-config
@weierophinney weierophinney Merge branch 'hotfix/5773' 7098714
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.