On 19/06/12 10:59, Atul Pratap Singh wrote:
Hi Marc, While taking a look at the Db-search functionality I noticed a bug. Steps:
- Open db-search tab for a database.
- Make a search by entering a keyword and selecting all tables.
- From the 'browse' and 'delete' links in search results, select 'delete'
for any table. 4. Notice that a DELETE query is sent to sql.php. But no actual deletion happens.
Regards
As far as I know this is due to the badly coded deleteResult() function in db_search.js file. If the rows can be deleted, they will be deleted. But in the case where there is an error, for example due to referential constrains, no error message is displayed.
Bye, Rouslan