NetTalk Central

Author Topic: ValidateUpdate AGAIN! Getting to be a real problem.  (Read 4543 times)

JHojka

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • Email
ValidateUpdate AGAIN! Getting to be a real problem.
« on: January 04, 2012, 01:43:25 PM »
I was working with my web app for most of the day and then all of the sudden the ValidateUpdate embed is not being activated. Something in the templates is not getting reset and I have no idea what is causing the problem. I tried what I had done before and re-compiled my global DLL. This is not resolving the problem. Something I am doing in the template settings is messing up the ValidateUpdate embed from firing. I have not added any embed code today. Whatever I am doing is causing every single form to have this problem.

Jeff Hojka
Marathon Software Co.

JHojka

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • Email
Re: ValidateUpdate AGAIN! Getting to be a real problem.
« Reply #1 on: January 04, 2012, 02:05:53 PM »
Additional information.

I tried everything I could think of. This included a complete re-compile from scratch. This did not resolve the problem. I then had the bright idea that one of the templates is not properly getting reset. I went to the webserver template settings and removed the Generic Page Header Tag. When I compiled the web app everything started working again. I put the Generic Page Header Tag back in place and compiled the app and everything still works. I am not sure of the exact cause of the problem. I had just deleted my webapp menu just before the program broke. I will try to re-create the problem if possible.

Jeff Hojka
Marathon Software Co.

JHojka

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • Email
Re: ValidateUpdate AGAIN! Getting to be a real problem.
« Reply #2 on: January 04, 2012, 02:14:28 PM »
I am able to reproduce this problem on my application. Here are the steps.

1. Delete all menu items and then delete the menu extension.
2. Compile the application
3. Run program and click on OK and see that none of the validation works.
4. WebServer Procedure go to Action->Settings->Generic Page Header Tag and remove the entry.
5. Compile the application
6. Run program and click on OK and see that validation works.
7. WebServer Procedure go to Action->Settings->Generic Page Header Tag and re enter the header information.
8. Compile the application
9. Run the program and click on OK and see that validation works.

Jeff Hojka
Marathon Software Co.

bruce2

  • Full Member
  • ***
  • Posts: 108
    • View Profile
    • Email
Re: ValidateUpdate AGAIN! Getting to be a real problem.
« Reply #3 on: January 04, 2012, 08:57:34 PM »
Can you post an example of it in a broken state please, or email it to me directly. I'd like to understand what the root cause is.

Cheers
Bruce

Skip Williams

  • Jr. Member
  • **
  • Posts: 53
    • View Profile
    • Email
Re: ValidateUpdate AGAIN! Getting to be a real problem.
« Reply #4 on: January 05, 2012, 07:21:23 AM »
Hi Bruce,

I have had a similar problem.  I changed something (I think it was in the generic page header, or the signon form) and validation update was not firing on the signon form.  I would enter my userid/ p[assword and focus would immediately go to the userid.  Debug messages showed the signon validation was not being called.  I restored the last working app backup, recompiled, and still had the problem.  IIRC, i deleted the signon procedure and recreated it and it worked.  Happened again several days later. This time going to a backup app got it working again.

I know this is not much help, but I will try to recreate the problem on one of the examples in the next several days.

Skip
 

JHojka

  • Jr. Member
  • **
  • Posts: 50
    • View Profile
    • Email
Re: ValidateUpdate AGAIN! Getting to be a real problem.
« Reply #5 on: January 06, 2012, 07:18:24 AM »
I tried to create the same problem using the example apps and a new generated app and can not get the same problem to occur. When I have the time I will try to strip down my app to the bare minimum.

Jeff Hojka
Marathon Software Co.