Skip to content

Conversation

@janbarasek
Copy link
Contributor

@janbarasek janbarasek commented May 19, 2020

  • bug fix
  • BC break? no

In case of dumping Incomplete ArrayHash Tracy throw TypeError:

Snímek obrazovky 2020-05-19 v 20 48 00

Now works:

Snímek obrazovky 2020-05-19 v 20 48 48

String for test:

bdump(unserialize('O:15:"Nette\ArrayHash":1:{s:6:"prices";O:15:"Nette\ArrayHash":4:{s:1:"0";O:15:"Nette\ArrayHash":3:{s:3:"min";s:1:"1";s:3:"max";s:1:"5";s:5:"price";s:3:"399";}s:1:"1";O:15:"Nette\ArrayHash":3:{s:3:"min";s:1:"6";s:3:"max";s:2:"10";s:5:"price";s:3:"699";}s:1:"2";O:15:"Nette\ArrayHash":3:{s:3:"min";s:2:"11";s:3:"max";s:2:"15";s:5:"price";s:3:"849";}s:1:"3";O:15:"Nette\ArrayHash":3:{s:3:"min";s:2:"16";s:3:"max";s:3:"999";s:5:"price";s:3:"999";}}}'));	

Maybe this error is in more places.

dg added 30 commits May 19, 2020 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants