[ckan-dev] R: R: JS error in recline.js on IE 8

Sean Hammond sean.hammond at okfn.org
Thu Jan 10 11:38:48 UTC 2013


Hey, I suggest you open an issue Recline's GitHub Issues page:

https://github.com/okfn/recline/issues

> Many Thanks to Rufus Pollack,
> I've resolved my JS errro on IE8 with this actions:
> - fixing recline.js (https://github.com/okfn/recline/pull/237 rename delete methods in remove methods, remove comma end line)
> - adding ecma-fixes.js (http://okfnlabs.org/recline/docs/src/ecma-fixes.html)
> - adding ecma-fixes.js include in recline.js
> 
> 
> Now I've another JS error only in IE because in my recline.js, the this.$map.get(0) is undefined for IE and not FF. 
> 
> The line(1873) in recline.js:
> 
> - this.map = new L.Map(this.$map.get(0));
> 
> And the problem is in the line (1609) in recline.js:
> 
> - this.$map = this.el.find('.panel.map');
> 
> In FF I've this.$map.length = 1 and in IE this.$map.length = 0.
> 
> Can someone help me ?
> 
> -----Messaggio originale-----
> Da: ckan-dev-bounces at lists.okfn.org [mailto:ckan-dev-bounces at lists.okfn.org] Per conto di Rufus Pollock
> Inviato: lunedì 19 novembre 2012 16:02
> A: CKAN Development Discussions
> Oggetto: Re: [ckan-dev] R: R: JS error in recline.js on IE 8
> 
> You could try and apply the IE fixes directly to your Recline version:
> 
> https://github.com/okfn/recline/pull/237
> 
> Also I note that recline.js still supports the v1.7 style datastore via the ElasticSearch backend.
> 
> Rufus
> 
> On 19 November 2012 14:51, Salvatore Altiero <salvatore.altiero at linksmt.it> wrote:
> > I cannot use 1.8 recline.js library in my 1.7.1 installation because change the the datastorer technology.
> >
> > I've tried to replace the recline.js file and nothing to do.
> >
> > Have you any ideas to solve my problem ?
> >
> > -----Messaggio originale-----
> > Da: ckan-dev-bounces at lists.okfn.org
> > [mailto:ckan-dev-bounces at lists.okfn.org] Per conto di Fumihiro Kato
> > Inviato: lunedì 19 novembre 2012 13:30
> > A: CKAN Development Discussions
> > Oggetto: Re: [ckan-dev] R: JS error in recline.js on IE 8
> >
> > Hi Salvatore,
> >
> > I have used js and css files of the master branch, not v0.5.
> >
> >   https://raw.github.com/okfn/recline/master/dist/recline.js
> >   https://raw.github.com/okfn/recline/master/dist/recline.dataset.js
> >   https://raw.github.com/okfn/recline/master/dist/recline.css
> >
> > Fumi
> >
> > On Mon, Nov 19, 2012 at 8:52 PM, Salvatore Altiero <salvatore.altiero at linksmt.it> wrote:
> >> Hi Fumi,
> >> where I can download the latest recline library ?
> >>
> >> I've installed this:
> >> https://raw.github.com/okfn/recline/v0.5/dist/recline.js
> >>
> >> In folder
> >> /home/opendata/pyenv/src/ckan/ckan/public/scripts/vendor/recline
> >>
> >> But now I've problem also with FF, so I've to restore old version.
> >>
> >>
> >> -----Messaggio originale-----
> >> Da: ckan-dev-bounces at lists.okfn.org
> >> [mailto:ckan-dev-bounces at lists.okfn.org] Per conto di Fumihiro Kato
> >> Inviato: venerdì 16 novembre 2012 14:50
> >> A: rufus.pollock at okfn.org; CKAN Development Discussions
> >> Oggetto: Re: [ckan-dev] JS error in recline.js on IE 8
> >>
> >> Hi,
> >>
> >> I had just encountered a similar error with CKAN v1.8, too. It was fixed after changing to the latest recline library.
> >>
> >> Fumi
> >>
> >> On Fri, Nov 16, 2012 at 9:57 PM, Rufus Pollock <rufus.pollock at okfn.org> wrote:
> >>> Any way to use CKAN v1.8 or even the 2.0 beta (current master). A 
> >>> bunch of work to improve IE compatibility was done that went into v1.8.
> >>>
> >>> Rufus
> >>>
> >>>
> >>> On 16 November 2012 12:06, Salvatore Altiero 
> >>> <salvatore.altiero at linksmt.it>
> >>> wrote:
> >>>>
> >>>> Hi all,
> >>>>
> >>>> I’ve installed CKAN 1.7.1 on Ubuntu 10.4 from source code.
> >>>>
> >>>>
> >>>>
> >>>> I’ve plugged in Datastorer support to enable data resource Preview.
> >>>>
> >>>>
> >>>>
> >>>> The Preview feature is ok on Firefox 16 but on Internet Explorer 8 
> >>>> I’ve not preview with this js error:
> >>>>
> >>>>
> >>>>
> >>>> Messaggio: Previsto identificatore
> >>>>
> >>>> Linea: 3206
> >>>>
> >>>> Carattere: 23
> >>>>
> >>>> Codice: 0
> >>>>
> >>>> URI:
> >>>> http://opendata.comune.bari.it/scripts/vendor/recline/recline.js
> >>>>
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> Messaggio: 'recline' non è definito
> >>>>
> >>>> Linea: 1569
> >>>>
> >>>> Carattere: 7
> >>>>
> >>>> Codice: 0
> >>>>
> >>>> URI:
> >>>> http://opendata.comune.bari.it/scripts/application.js?lang=${c.loca
> >>>> l
> >>>> e
> >>>> }
> >>>>
> >>>>
> >>>>
> >>>> Can you help me ?
> >>>>
> >>>>
> >>>>
> >>>> Salvatore Altiero
> >>>>
> >>>> Delivery Leader | Divisione PA & Industries Links Management and 
> >>>> Technology S.p.A.
> >>>>
> >>>> Via R. Scotellaro, 55 - 73100 Lecce
> >>>> Tel: +39 0832.443911 - Fax: +39 0832.443926
> >>>> Mobile: +39 3939681336
> >>>> e-Mail: salvatore.altiero at linksmt.it
> >>>> Web:   www.linksmt.it
> >>>> Link:   Nota di Riservatezza
> >>>>
> >>>>
> >>>>
> >>>> --
> >>>> This email was Virus checked by Astaro Security Gateway.
> >>>> http://www.astaro.com
> >>>>
> >>>>
> >>>> _______________________________________________
> >>>> ckan-dev mailing list
> >>>> ckan-dev at lists.okfn.org
> >>>> http://lists.okfn.org/mailman/listinfo/ckan-dev
> >>>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> >>>>
> >>>
> >>>
> >>>
> >>> --
> >>> Co-Founder, Open Knowledge Foundation Promoting Open Knowledge in a 
> >>> Digital Age http://www.okfn.org/ - http://blog.okfn.org/
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> ckan-dev mailing list
> >>> ckan-dev at lists.okfn.org
> >>> http://lists.okfn.org/mailman/listinfo/ckan-dev
> >>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> >>>
> >>
> >> _______________________________________________
> >> ckan-dev mailing list
> >> ckan-dev at lists.okfn.org
> >> http://lists.okfn.org/mailman/listinfo/ckan-dev
> >> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> >>
> >> --
> >> This email was Virus checked by Astaro Security Gateway.
> >> http://www.astaro.com
> >>
> >>
> >> _______________________________________________
> >> ckan-dev mailing list
> >> ckan-dev at lists.okfn.org
> >> http://lists.okfn.org/mailman/listinfo/ckan-dev
> >> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> >
> > _______________________________________________
> > ckan-dev mailing list
> > ckan-dev at lists.okfn.org
> > http://lists.okfn.org/mailman/listinfo/ckan-dev
> > Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> >
> > --
> > This email was Virus checked by Astaro Security Gateway. 
> > http://www.astaro.com
> >
> >
> > _______________________________________________
> > ckan-dev mailing list
> > ckan-dev at lists.okfn.org
> > http://lists.okfn.org/mailman/listinfo/ckan-dev
> > Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> 
> 
> 
> --
> Co-Founder, Open Knowledge Foundation
> Promoting Open Knowledge in a Digital Age http://www.okfn.org/ - http://blog.okfn.org/
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
> 
> --
> This email was Virus checked by Astaro Security Gateway. http://www.astaro.com
> 
> 
> -- 
> This email was Virus checked by Astaro Security Gateway. http://www.astaro.com
> 
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev




More information about the ckan-dev mailing list