Closed GoogleCodeExporter closed 9 years ago
It is especially bad that we use a GET parameter called "view" for this as
"view" is used with different semantics on the db-level (like view=export or
view=sql).
I think we should remove view=1 completely and instead _detect_ if it's a table
or view.
Original comment by crazy4ch...@gmail.com
on 13 Mar 2013 at 5:40
As this is spread all over the code we probably better do a quick fix for 1.9.4
like the patch above, otherwise we will only introduce new bugs.
But we should definitely have a look at view=1. There is loads of redundant
code in there that could be removed together with the parameter.
Original comment by crazy4ch...@gmail.com
on 14 Mar 2013 at 12:47
This issue was closed by revision r363.
Original comment by crazy4ch...@gmail.com
on 17 Mar 2013 at 11:05
Okay, I fixed this in SVN very similar to the patch attached above.
Another thing I fixed:
If a view is empty (no rows), PLA proposed to insert new rows, which won't work
and the link also did not include the view=1 parameter. I removed this proposal
(if it's a view).
I will open another issue proposing the removal of view=1 alltogether.
Original comment by crazy4ch...@gmail.com
on 17 Mar 2013 at 11:08
Original issue reported on code.google.com by
crazy4ch...@gmail.com
on 12 Mar 2013 at 4:21Attachments: