Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 7 of 7 total
Thread Intermittent Application Error.
Thu, Jul 30 2015 12:42 AMPermanent Link

Steve Gill

Avatar

Hi Tim,

I am getting a strange error when clicking a TLink that is used to display another form:

"Application Error"

"Type Error: formabout_frmabout is undefined."

"Line: 29894"

What happens is the current form disappears for a couple of seconds, then reappears with this error message.  If I click on the link again it works fine and the other form is displayed (frmAbout).

It generally happens the first time the link is clicked after the web app is refreshed/reloaded, but not always.

This is happening with Firefox (latest version).

= Steve
Thu, Jul 30 2015 8:06 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Steve,

<< I am getting a strange error when clicking a TLink that is used to display another form:

"Application Error"

"Type Error: formabout_frmabout is undefined."

"Line: 29894"

What happens is the current form disappears for a couple of seconds, then reappears with this error message.  If I click on the link again it works fine and the other form is displayed (frmAbout). >>

Send me an example project, and I'll take a look.  I suspect that there's an "code execution order" issue here whereby the form instance variable hasn't been set yet.

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Jul 30 2015 10:19 AMPermanent Link

Steve Gill

Avatar

<< Send me an example project, and I'll take a look.  I suspect that there's an "code execution order" issue here whereby the form instance variable hasn't been set yet. >>

Thanks Tim, I have emailed it to you.

= Steve
Fri, Jul 31 2015 7:41 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Steve,

<< I am getting a strange error when clicking a TLink that is used to display another form: >>

I can't replicate this with the 2.01 candidate and FF 39.

There were some changes to the focusing to prevent issues with dynamically-created/embedded and parented forms, but you're using auto-create forms with the relevant forms, so I don't think that this fix would have affected you.

Tim Young
Elevate Software
www.elevatesoft.com
Fri, Jul 31 2015 9:20 AMPermanent Link

Steve Gill

Avatar

Hi Tim,

<< I can't replicate this with the 2.01 candidate and FF 39.

There were some changes to the focusing to prevent issues with dynamically-created/embedded and parented forms, but you're using auto-create forms with the relevant forms, so I don't think that this fix would have affected you.  >>

Well thanks for looking into it.  I don't know why but for the last day or so it has stopped happening yet I haven't changed anything.  Weird.

= Steve
Tue, Aug 4 2015 12:20 AMPermanent Link

Steve Gill

Avatar

Hi Tim,

<< Well thanks for looking into it.  I don't know why but for the last day or so it has stopped happening yet I haven't changed anything.  Weird.  >>

The issue is back and I can reproduce it fairly consistently.  I have sent you an email with the details.

= Steve
Tue, Aug 4 2015 8:46 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Steve,

<< The issue is back and I can reproduce it fairly consistently.  I have sent you an email with the details. >>

Resolved.  The issue was related to trying (from the main form) to access forms during startup that weren't created yet.

Tim Young
Elevate Software
www.elevatesoft.com
Image