Bugs item #1943741, was opened at 2008-04-16 04:53
Message generated for change (Comment added) made by xzilla
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418980&aid=1943741&group_id=37132
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Paolo Lunardi (paolo_lunardi)
Assigned to: Robert Treat (xzilla)
Summary: SQL Query truncated abnormally
Initial Comment:
Long SQL queries are truncated abnormally by PhpPgAdmin. Submitting long queries causes an application error displaying a blank page. Hint: the problem is related to the size limit of HTTP GET request, SQL query strings should be passed always via HTTP POST or manteined in a SESSION variable.
----------------------------------------------------------------------
Comment By: Robert Treat (xzilla)
Date: 2008-12-18 00:25
Message:
This issue has been resolved and is currently fixed in CVS. If
you wish to acquire the fix, please download a nightly snapshot:
http://phppgadmin.sourceforge.net/
Note that you may have to wait up to 24 hours for the latest CVS
changes to appear in the snapshot.
----------------------------------------------------------------------
Comment By: Robert Treat (xzilla)
Date: 2008-09-13 02:34
Message:
I've worked up some code to manage the sql query via a session var, I think
you can grab it at
http://github.com/xzilla/phppgadmin/tarball/77fb4f46c675b23e189f06ead11d35d1921a3b64,
lmk how it goes.
----------------------------------------------------------------------
Comment By: Paolo Lunardi (paolo_lunardi)
Date: 2008-09-01 03:38
Message:
Logged In: YES
user_id=2064472
Originator: YES
File Added: long_query.txt
----------------------------------------------------------------------
Comment By: Paolo Lunardi (paolo_lunardi)
Date: 2008-09-01 03:36
Message:
Logged In: YES
user_id=2064472
Originator: YES
Ok, I have uploaded a zipped copy of the attached file.
File Added: long_query.txt
----------------------------------------------------------------------
Comment By: Paolo Lunardi (paolo_lunardi)
Date: 2008-09-01 03:30
Message:
Logged In: YES
user_id=2064472
Originator: YES
File Added: long_query.zip
----------------------------------------------------------------------
Comment By: Robert Treat (xzilla)
Date: 2008-08-26 15:22
Message:
Logged In: YES
user_id=204589
Originator: NO
ah, ok, i thought there might be more to this. however, i get an error
when trying to download your example (something about it being a binary
file), can you re-upload? thanks!
----------------------------------------------------------------------
Comment By: Paolo Lunardi (paolo_lunardi)
Date: 2008-08-26 03:59
Message:
Logged In: YES
user_id=2064472
Originator: YES
I have downloaded and installed
http://github.com/xzilla/phppgadmin/tarball/28a749657ab3c92c6a59bf6171cc3e7b8b1c3c84
The problem is still present.
----------------------------------------------------------------------
Comment By: Paolo Lunardi (paolo_lunardi)
Date: 2008-08-26 03:34
Message:
Logged In: YES
user_id=2064472
Originator: YES
File Added: long_query.txt
----------------------------------------------------------------------
Comment By: Paolo Lunardi (paolo_lunardi)
Date: 2008-08-26 03:32
Message:
Logged In: YES
user_id=2064472
Originator: YES
File Added: long_query.txt
----------------------------------------------------------------------
Comment By: Paolo Lunardi (paolo_lunardi)
Date: 2008-08-26 03:19
Message:
Logged In: YES
user_id=2064472
Originator: YES
The problem is not present in the forms that send the query by HTTP POST
(database sql, pop-up, save report). The problem occurs whenever you access
the query contents via HTTP GET. For example in database sql and pop-up
when you have executed the query for the first time and then you click on
"Modify SQL". The same if you saved the query in a report: you will not be
able to run it. The problem is due to a Internet Explorer feature, see
http://support.microsoft.com/kb/208427 For an example query, see the
attached file "long_query.txt", try to run/modify that query and then try
to create/modify/run a report with that query.
File Added: long_query.txt
----------------------------------------------------------------------
Comment By: Robert Treat (xzilla)
Date: 2008-08-25 17:05
Message:
Logged In: YES
user_id=204589
Originator: NO
I believe I have a fix for this available in my git repo. You can grab a
copy of the code from
http://github.com/xzilla/phppgadmin/tarball/28a749657ab3c92c6a59bf6171cc3e7b8b1c3c84.
I am marking this bug ticket as pending, please let us know if you have
additional issues. Note, this fix will be backpatched to 4.2.x
----------------------------------------------------------------------
Comment By: Robert Treat (xzilla)
Date: 2008-08-16 23:04
Message:
Logged In: YES
user_id=204589
Originator: NO
can you provide a little more detail on where you get this error? Is it in
the sql pop-up window, or the sql page on the database page, or some place
else?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=418980&aid=1943741&group_id=37132
|