issue #10923
The toArray() function return [attribute => value] but there is need a list of attribute names. UnitTest for the DetailView arrayable models close #10760