What steps will reproduce the problem?
1. Setting Edit mode during grid configuration
2. Click on 'edit' icon
What is the expected output? What do you see instead?
Expected : access to edit page if record exists
Instead : display the grid again, with message ''Record Not Found''
What version of the product are you using? On what operating system?
v6.alpha, under Linux Fedora
Please provide any additional information below.
Looking in Bvb_Grid_Deploy_Table, in method _processForm() particulary at
line 317, we can see this condition (where $r is a SQL query result) :
if (count($r) == 1) {
// display 'Record Not Found'
}
When we want to edit a SQL entry we expect to have access to only one
result, not more. With this PHP code, error is displayed when we get only
one result. Not logical, would it not be : if (0 === count($r)) { ?
Original issue reported on code.google.com by tribal...@gmail.com on 23 Feb 2010 at 1:57
Original issue reported on code.google.com by
tribal...@gmail.com
on 23 Feb 2010 at 1:57