Loading...
 
Skip to main content

Tracker pagination fails in AJAX

Status
Closed
Subject
Tracker pagination fails in AJAX
Version
2.x
Category
  • Error
  • Usability
Feature
Trackers
Resolution status
Fixed or Solved
Submitted by
mrisch
Lastmod by
mrisch
Rating
(0)
Description

I have a tracker with 80 items and one with 200 items. Latest code from SVN (updated 6/24).

Pagination fails completely - sometimes page 3 works, sometimes it doesn't. Page 2 fails all the time (that is - no movement)


This is with ajax on: firebug reports POST:
xajax=loadComponent&xajaxr=1214318443517&xajaxargs[]=tiki-view_tracker.tpl&xajaxargs[]=tiki-center

Even thought the param for offset is right, the data returned is always the same page I just sent.

As a result, nothing happens! Is there a way to turn ajax off in trackers only?

Without Ajax, the page changes, and if I manually put the URL in with the right offset, it goes to the right page

More details-
The error appears to be tied to the "insert new item" tab of a linked item.

IE reports an XML error, as does Firefox. The firefox console says this:
Error: not well-formed
Source File: http://www.casesofinterest.com/tiki/tiki-view_tracker.php?trackerId=8&offset=10Question
Line: 606, Column: 46
Source Code:
<option value="Technology and the Demand for Skill - An Analysis of Within an

The green arrow points to between the S and k in "Skill". Note the extra space - none appears in the linked field.

Even when I got rid of that item, AJAX pagination fails, but this time without a console error. What happens is that the window doesn't resize, and I get a "windowWidth is not defined" error, and the tabs never form.

Importance
2
Priority
10
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
1845
Created
Tuesday 24 June, 2008 14:42:22 UTC
by Unknown
LastModif
Monday 28 July, 2008 21:42:13 UTC


Show PHP error messages