Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exposer: Fix TypeError in $name argument. #422

Closed
wants to merge 60 commits into from
Closed

Exposer: Fix TypeError in $name argument. #422

wants to merge 60 commits into from

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
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.

None yet

2 participants