NetTalk Central

Author Topic: 4.35 - Wrong record selected, Javascript errors  (Read 6915 times)

vsorensen

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
    • Email
4.35 - Wrong record selected, Javascript errors
« on: June 23, 2009, 11:12:40 AM »
A user reported that the wrong record will come up when clicking View (or change) on the first record on a browse after he's viewed or changed any other record.

In other words, open a browse, select the third record (I use the radio button style of browse), click View, click Close, press "First", select the first record, click View, and you'll see the third record instead of the first one.

In initial test here, it appeared to be a problem with the Javascript (see below), but restoring to an older version showed the same behaviour without the Javascript error.  I'll include the error anyway....



Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; GTB6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618)
Timestamp: Tue, 23 Jun 2009 19:03:29 UTC


Message: Invalid argument.
Line: 136
Char: 7
Code: 0
URI: https://www.passwordsmax.com:444/scripts/all.js





I've also see the error:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; GTB6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618)
Timestamp: Tue, 23 Jun 2009 18:42:20 UTC


Message: 'pgPasswordsBrowseControl' is undefined
Line: 331
Char: 1
Code: 0
URI: https://www.passwordsmax.com:444/pgRedirectOnLogin



'pgPasswordsBrowseControl'  is the name of the procedure.
« Last Edit: June 23, 2009, 06:28:06 PM by vsorensen »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: 4.35 - Wrong record selected, Javascript errors
« Reply #1 on: June 23, 2009, 11:34:37 PM »
Hi  Vince,

change to highlight method of selecting row, and tell me if you still have the same problem please. It'll help isolate the cause of the error.

you'll also get a LOT more useful error message from Firefox running Firebug which will probably help as well.

cheers
Bruce

vsorensen

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
    • Email
Re: 4.35 - Wrong record selected, Javascript errors
« Reply #2 on: June 24, 2009, 10:03:59 AM »
I could have sworn it was the same behaviour when in highlight mode, but it isn't. Probably got confused because the Javascript error was still occurring.

To summarize:

IE8/Radio Button - Javascript error and wrong record select problem
IE8/Highlight - Javascript error *only*
Firefox/Radio Button - Wrong record select problem *only*
Firefox/Highlight - No problem.

jkunes

  • Newbie
  • *
  • Posts: 18
    • View Profile
    • Email
Re: 4.35 - Wrong record selected, Javascript errors
« Reply #3 on: June 24, 2009, 12:54:34 PM »
Hi -
Are you using the newest release of NetTalk -  release 4.35?

I have been having a problem with Firefox since I upgraded to 4.35 from 4.30 yesterday.  My browses work with IE but not with Firefox.  As soon as the page with the browse is displayed it locks up - can't select an item and none of the buttons work.  But apparently you have not experienced that.  My app worked just fine with Firefox before I upgraded.

Jill

vsorensen

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
    • Email
Re: 4.35 - Wrong record selected, Javascript errors
« Reply #4 on: June 24, 2009, 11:41:23 PM »
I'm using 4.35 as per the subject line, but it is IE where I'm seeing the Javascript error (which prevents the First/Next/etc buttons from working at all), not Firefox.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: 4.35 - Wrong record selected, Javascript errors
« Reply #5 on: June 29, 2009, 12:44:25 AM »
Hi Vince,

try pressing Ctrl-F5 once the site is loaded in your IE browser.
Sounds like a simple file-version issue - for the JS errors anyway.

Cheers
Bruce

vsorensen

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
    • Email
Re: 4.35 - Wrong record selected, Javascript errors
« Reply #6 on: June 29, 2009, 06:30:33 AM »
try pressing Ctrl-F5 once the site is loaded in your IE browser.
Sounds like a simple file-version issue - for the JS errors anyway.

Same result (tried CTRL+F5 twice)...

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; WOW64; Trident/4.0; GTB6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30729)
Timestamp: Mon, 29 Jun 2009 14:31:44 UTC


Message: Invalid argument.
Line: 136
Char: 7
Code: 0
URI: https://www.passwordsmax.com:444/scripts/all.js


Also compared the web subfolders, and the distributed version matches \clarion6\3rdparty\libsrc\netweb.
« Last Edit: June 29, 2009, 06:34:51 AM by vsorensen »

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: 4.35 - Wrong record selected, Javascript errors
« Reply #7 on: July 07, 2009, 04:58:06 AM »
I'm not getting any JavaScript errors here, so if they persist in 4.36 let me know and I'll visit your site "online".

the selection issue though is sorted for the 4.36 build.

cheers
Bruce

vsorensen

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
    • Email
Re: 4.35 - Wrong record selected, Javascript errors
« Reply #8 on: July 07, 2009, 08:11:45 PM »
Thanks!