New issue 72 by jpwhite3: Oracle Pagination in Admin interface
http://code.google.com/p/django-jython/issues/detail?id=72
What steps will reproduce the problem?
-----------------------------------------
1. Create model use oracle driver, and enable admin interface.
2. Enable "list_per_page" option in AdminManager for the above model.
3. Visit admin interface and view table with large dataset (larger than
limit set in above step).
What is the expected output? What do you see instead?
-----------------------------------------
Expect functional pagination based on the "list_per_page" set in the model.
Instead, the pagination elements appear on the bottom of the list page with
the correct number of pages yet every paginated link loads the entire data
set.
What version of the product are you using? On what operating system?
-----------------------------------------
Jython 2.7, Django-Jython 1.2.0, Django 1.2.7
Windows 2008 Server, Redhat 5.5
Please provide any additional information below.
-----------------------------------------
Removing doj and doj-database backends from settings file and running
development server with cPython fixes the issue. Only happens when doj is
enabled.
As another test I migrated db schema to MySQL from Oracle and swapped out
doj drivers... pagination worked out of the box. Leads me to believe that
this limited to the doj implementation of Oracle query.py
Comment #2 on issue 72 by juneau001: Oracle Pagination in Admin interface
http://code.google.com/p/django-jython/issues/detail?id=72
Thanks for the testing and feedback. Will put this in the queue.
Just tested with the lastest 1.3 beta release against Jython 2.5.2, same
result... pagination with oracle doesn't work. And as before, removing doj
and doj-database backends from settings file and running development server
with Python and cx_Oracle fixes the issue.