Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29124

Fix javascript error when navigating to empty explorer listings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 11.1, 2021.0
    • Component/s: Explorer

      Description

      The following javascript error is shown when navigating to an empty operations view (after saving a partial distribution for instance, see NXP-29117):

      TypeError: table.config.parsers is undefined
      

      This is jquery tablesorter bug, fix is inspired from https://github.com/christianbach/tablesorter/pull/23.

      Once fixing this one, the following error appeared in some cases:

      TypeError: cache.normalized[0] is undefined
      

      --> applied a similar fix

      Revealed by tests at NXP-20646

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h