Open the 356888-Test01.kexi file attached at https://bugs.kde.org/show_bug.cgi?id=356888#attach_96375 and test the following:
- open the 'cast' table in data view mode
- open the 'cast' query in data view mode
- open the 'cast' form in data view mode
- open the 'cast' report in data view mode
- right-click the 'cast' table and pick Export -> To Clipboard
- right-click the 'cast' table and pick Export -> To File...
In all these cases error like this should appear:
"Opening object "cast" failed. Switching to other view failed (Data View)
Error opening database cursor. near ".": syntax error
SQL statement: SELECT movies_id, person_id, id, cast.OID FROM cast ORDER BY id"
And Kexi should refuse opening the data view.
Also opeining any of these objects in design view works. Then Kexi should not allow to switch to data view, displaying the same error.