Jaroslav Hranička
Jaroslav Hranička
I think that problem #15 is implementation of `Selection::execute` & `GroupedSelection::execute` which fails when cache is invalid. But I still cannot find the reason why sometimes cache is not valid....
Can someone with the same problem (#15) check this solution on real projects? Solves it bugs with cache? @nechutny @mishak87
This PR should be without any BC break. Adds CSS classes according to validation result of each control. Classes are prefixed with `nette-*` and should be compatible with applications using...
ActiveRow: Trying to get property of non-object & Selection: Invalid argument supplied for foreach()
@hrach 408925f really fixes the problem. However if I'll try reproduce the bug on nette/sandbox v2.2.2, will be it still useful for you (you've written tests for it in 408925f...
ActiveRow: Trying to get property of non-object & Selection: Invalid argument supplied for foreach()
@hrach I'm trying evoke the bug in simple situation in nette/sandbox v2.2.2 but there it works fine. It's really strange :( I'll try it again later with more comlex DB...
ActiveRow: Trying to get property of non-object & Selection: Invalid argument supplied for foreach()
@hrach So I've tried envoke the bug on nette/sandbox v2.2.2 with custom DB structures but everything worked fine. Sorry, I can't reproduce test case for the bug when I need...
ActiveRow: Trying to get property of non-object & Selection: Invalid argument supplied for foreach()
I got it! Or no? ... See: 1) I have a problem with `::offsetGet`: - https://github.com/nette/database/blob/master/src/Database/Table/Selection.php#L963 - it calls `::execute` and works with `$this->rows` property - but in not predictable...
ActiveRow: Trying to get property of non-object & Selection: Invalid argument supplied for foreach()
Very strange problem. I've spent several hours and I can't still reproduce the bug purposely :( Everything looks fine in Nette\Database. Maybe the problem could be in currupted cache. I...
ActiveRow: Trying to get property of non-object & Selection: Invalid argument supplied for foreach()
For the first HTTP request the error is produced but for the next request everything works fine. I'll try conditionally copy cached files immediatelly when error occurs and again try...
ActiveRow: Trying to get property of non-object & Selection: Invalid argument supplied for foreach()
@dg I don't like 3c44de6 nowadays :disappointed: It solves the problem only partially (::offsetGet only) and the way is ugly and very strange. I would like **revert** the commit 3c44de6...