Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-3219

Pager onModelChange event handling code does not update permutations map

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0, 1.1, 1.1.1, 1.2, 1.3
    • Fix Version/s: None
    • Component/s: Pager
    • Labels:
      None

      Description

      pager demo: http://build.fluidproject.org/infusion/demos/pager/

      I'm attaching a page that demonstrates a strange issue I'm currently experiencing. If you attempt to sort by one of the columns, then select another "type" from the drop down, an error of "row is undefined" is produced.

      As far as I can tell, it looks like the pager contains a permutation object that is refreshed by the pager's internal code, but is not taken into account by the pager data-rebinding techniques we've used in the past. The page contains a commented out line which sets pager.permutation to undefined. When uncommented, this line prevents the page from producing javascript errors, though the pager items aren't always correctly sorted after the data re-bind.

      I'm not quite sure when this issue appears, though it does affect 1.1.1 and didn't seem to be an issue in 0.8.

        Attachments

        1. test-sorting.html.zip
          2 kB
          Jen Bourey

          Activity

            People

            Assignee:
            antranig Antranig Basman
            Reporter:
            jbourey Jen Bourey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: