Item11151: No grids any more on trunk

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: JQGridPlugin, JQueryPlugin
Branches:
Reported By: LarsEik
Waiting For:
Last Change By: MichaelDaum
No grid. Tried to revert to older jquery without luck, but with JQGridPLugin rev 11887 it started working again. I think also with JQueryPlugin it gives me an error about utf8 so I reverted to rev 10880 and it works. I have no clue to what the problem is but I manage to svn first a fresh HEAD checkout, then svn to different revisions. I pseudo uninstall, delete links and pseudo install again in the process. I'd rahter say it's urgent but maybe only me get this? Ah, and when it works older jqeuery is version 1.4.3, maybe other also work I didn't get time to test more.

-- LarsEik - 27 Sep 2011

Apparently we are going to ship with jquery-1.6 - so you need to re-run configure and choose jquery-1.6, if you have an existing config. Are there any configure warnings? Was Foswiki configured to use the new jquery?

-- PaulHarvey - 28 Sep 2011

Which browser are you using? Any javascript errors on the page? Note, there's a forgotten console.log() that might break JQGridPlugin on browsers not having a console (IE at least). Here's the patch to remove them. Does this cure the problem for you?

Index: pub/System/JQGridPlugin/jquery.jqgrid.uncompressed.js
===================================================================
--- pub/System/JQGridPlugin/jquery.jqgrid.uncompressed.js       (revision 12632)
+++ pub/System/JQGridPlugin/jquery.jqgrid.uncompressed.js       (working copy)
@@ -4274,9 +4274,6 @@
       data[key] = val;
     });
 
-    console.log("rowData=",rowData);
-    console.log("data=",data);
-
     if($.fmatter.isUndefined(data.template)) {
       return $.fn.fmatter.defaultFormat(cellVal, opts);
     }
Index: pub/System/JQGridPlugin/jquery.additional-fmatter.js
===================================================================
--- pub/System/JQGridPlugin/jquery.additional-fmatter.js        (revision 12632)
+++ pub/System/JQGridPlugin/jquery.additional-fmatter.js        (working copy)
@@ -68,9 +68,6 @@
       data[key] = val;
     });
 
-    //console.log("rowData=",rowData);
-    //console.log("data=",data);
-
     if($.fmatter.isUndefined(data.template)) {
       return $.fn.fmatter.defaultFormat(cellVal, opts);
     }

-- MichaelDaum - 28 Sep 2011

There's another problem: Config.spec isn't getting absorbed into LocalSite.cfg

-- PaulHarvey - 11 Oct 2011

Damn, SearchConnector is very broken. See Item11178

-- PaulHarvey - 11 Oct 2011
 
Topic revision: r8 - 19 Oct 2011, MichaelDaum
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy