Actions
Bug #64066
closedTestingframework record collector does not reset internal variables
Start date:
2014-12-31
Due date:
% Done:
100%
Estimated time:
3.00 h
TYPO3 Version:
7
PHP Version:
5.3
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:
Description
When using the Unit-Test framework frontend record collector [1] the resulting response is invalid.
Instead of adding records only to the specific section (configured via TypoScript) the records pile up in $this->records and get added to every section. The reason this only true for $this->records of the Collector is, that for the other class variables (like $this->structure) they are using appropriate array keys anyways.
My proposed solution is to reset the internal member variables: records, structure and structurePath each time after attaching a section. See patch on gerrit.
Actions