From: David Mark on
On Jul 24, 8:19 pm, Andrew Poulos <ap_p...(a)hotmail.com> wrote:
> On 25/07/2010 8:56 AM, David Mark wrote:
>
> > On Jul 24, 6:22 pm, Andrew Poulos<ap_p...(a)hotmail.com>  wrote:
> >> Of course the LMS vendor cannot give me their source code.
> >> So now I'll be caught between an client and a (most likely)
> >> quick-stepping LMS vendor.
>
> > I'd be glad to help you with that Andrew.  It's what I do.  ;)
>
> Thanks for the offer.

NP. I've helped many out of similar jams. If it's not jQuery, it's
ExtJS or Dojo or (God forbid) a combination of them (or similar
efforts).

>
> On Monday I'll try talking to the client to get permission to contact
> the LMS vendor but I'm acutely aware that if the LMS vendor is selling a
> relatively expensive product and one of its javascript components is at
> fault I'm not going to get much joy.

Probably not. But they may well try to sell you an expensive support
package. :)

>
> --
>
> Like the other web app, I was hired to use, that sits on ExtJS and runs
> fairly slowly:

No surprise there.

> - first I called them about it
> then
> - I emailed a bug report
> - I had to respond to their numerous email queries (do I have a fast
> connection,...)
> - I tried different browsers
> - I temporarily disabled firewalls and virus protection
> - I let them log into my computer to see for themselves
> - the client had to get someone in other city to try
> - then the vendore moved the app to a different server

Isn't that always the way? They were just telemarketers reading a
canned script and ticking off a checklist. Unsurprisingly, that
rarely leads to anything but wasted time.

>
> When there was negligible, if any, speed improvement the whole cycle
> started again. All the while the onus was on me ie. I felt the client
> thought I was either incompetent or maliciously bumping up my hours.

Oh, I know that tune. It can't be the library! :)

>
> Oh, I almost laughed out loud when the web app contact told me that it
> runs just fine on their server.
>

Yes, I've never understood the use of the phrase "runs just fine" to
describe a complicated cross-browser script.
From: David Mark on
On Jul 24, 8:13 pm, Jeff North <jnort...(a)yahoo.com.au> wrote:
> On Sun, 25 Jul 2010 08:22:18 +1000, in comp.lang.javascript Andrew
> Poulos <ap_p...(a)hotmail.com>
>
> <z9GdnRHO--Y4-tbRnZ2dnUVZ_tudn...(a)westnet.com.au> wrote:
> >| I understand that many people are happily using jquery and are not
> >| experiencing any problems.
> >|
> >| Here it is a Sunday morning and I'm trying to fix an elearning course
> >| that is not communicating with a Learning Management System (LMS). The
> >| LMS is compliant with a standard called SCORM 1.2 which depends on
> >| javascript to "move" data about.
> >|
> >| Alas the LMS that my client has installed, at a relative high expense,
> >| uses jquery as its intermediary and there appears to be a bug and one of
> >| the calls is returning the error ...is undefined.
>
> Are the calls part of the vendors API or has the client written their
> own?
>
> Have you thought of lodging a helpdesk ticket with the vendor?
>

What do you suppose they will do if, in fact, the problem is in
jQuery? Lodge a ticket with the jQuery developers? :)
From: Richard Cornford on
Andrew Poulos wrote:
>I understand that many people are happily using jquery and are
> not experiencing any problems.
>
> Here it is a Sunday morning and I'm trying to fix an elearning
> course that is not communicating with a Learning Management
> System (LMS). The LMS is compliant with a standard called
> SCORM 1.2 which depends on javascript to "move" data about.
>
> Alas the LMS that my client has installed, at a relative high
> expense, uses jquery as its intermediary and there appears to
> be a bug and one of the calls is returning the error ...is
> undefined.

Presumably this is an IE error message. The "... is undefined" message
is usually associated with an attempt to read a value through an
Identifier that cannot be resolved (so effectively an attempt to read an
undeclared variable). IE usually reports the line numbers incorrectly,
but only in the sense that off by at least one line, which still gives
you an idea about where to look for that use of an undeclared variable
(and in 'packed' single line code you get the character number, which
provides clues about where to look). Unfortunately older IEs don't
actually tell you which file the error is in, but instead just the URL
of the page that may have only imported the code where the offending
line appears. So you may need to work through a number of resources,
which you may find in the browser's cache but could monitor directly
using a web debugging proxy such as fiddler or Charles:-

<URL: http://www.charlesproxy.com/ > Java-based so needs (recent) Java
RTE

An irresolvable Identifier use may occur in an - eval -, for example
where a JSON value that should be surrounded by quotes has not been
surrounded by quotes, turning a word into an unexpected Identifier.
Therefore, the offending line may contain an - eval -, and then you
could be looking at AJAX traffic being sent to the client.

> The elearning course passes all the tests in the appropriate
> SCORM (ADL) test suites so the error can only be in the LMS.

That only goes so far in guaranteeing that all of the traffic is
correctly formatted.

> It look like the error is in jquery.

Well, JQuery may be doing no more than -eval-ing mal-formed JSON, which
isn't really something for which it could be blamed (garbage in garbage
out).

> Of course the LMS vendor cannot give me their source code.

Everything arriving in a browser is open for inspection.

> So now I'll be caught between an client and a (most likely)
> quick-stepping LMS vendor.

If you give up before you try you must be defeated.

Richard.

From: Alan Gutierrez on
Andrew Poulos wrote:
> It look like the error
> is in jquery. Of course the LMS vendor cannot give me their source code.
> So now I'll be caught between an client and a (most likely)
> quick-stepping LMS vendor.

Is their source code obfuscated? What is the error?

--
Alan Gutierrez - alan(a)blogometer.com - http://twitter.com/bigeasy
From: David Mark on
On Jul 24, 11:27 pm, Alan Gutierrez <a...(a)blogometer.com> wrote:
> Andrew Poulos wrote:
> >  It look like the error
> > is in jquery. Of course the LMS vendor cannot give me their source code..
> > So now I'll be caught between an client and a (most likely)
> > quick-stepping LMS vendor.
>
> Is their source code obfuscated? What is the error?
>

He already said what the error was and Richard pointed out how to
track it down (obfuscated or not).
First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4 5
Prev: JQuery Ajax
Next: Celexa 10 mg, 5mg Celexa, Celexa acne