page loading too fast for HELPER to do it's work?
Posted: 2020-11-20 11:20
Hi,
I have encountered something very strange.
I am using AG Helper to make some fields readonly (I do not remember is this is an official feature).
--- Local ---
Locally (uniformserver - like xampp - with apache and mysql) page load is "slow" (that's ok and expected) - 20 seconds: But: Everything works. The fields are correctly handled.
The console log of localhost looks like this: --- Web ---
When I transfer the exact same files to a webserver (I tried two completely different hosters i.e. 1and1 and webgo.de) it's not working like this anymore!
Yes, the page loads faster now ... lightning fast to be exact, but the fields are not changed to readonly. Note: Only lookup fields (and lookup readonly) seem to be the problem.
On these servers it looks like this: And there are errors showing up in the console log:
I notice the hint, that I should initialize AG helper in a different way. I will do so, but I do not think this will help.
I suspect, the problem is the load time of the page. AG Helper tries to put it's hand on the fields, but the page has not been loaded yet.
But
a) why does this happen only when the page is loading fast
b) how can I fix the problem (if I can) or is it
c) a bug in AG Helper?
Olaf
I have encountered something very strange.
I am using AG Helper to make some fields readonly (I do not remember is this is an official feature).
--- Local ---
Locally (uniformserver - like xampp - with apache and mysql) page load is "slow" (that's ok and expected) - 20 seconds: But: Everything works. The fields are correctly handled.
The console log of localhost looks like this: --- Web ---
When I transfer the exact same files to a webserver (I tried two completely different hosters i.e. 1and1 and webgo.de) it's not working like this anymore!
Yes, the page loads faster now ... lightning fast to be exact, but the fields are not changed to readonly. Note: Only lookup fields (and lookup readonly) seem to be the problem.
On these servers it looks like this: And there are errors showing up in the console log:
I notice the hint, that I should initialize AG helper in a different way. I will do so, but I do not think this will help.
I suspect, the problem is the load time of the page. AG Helper tries to put it's hand on the fields, but the page has not been loaded yet.
But
a) why does this happen only when the page is loading fast
b) how can I fix the problem (if I can) or is it
c) a bug in AG Helper?
Olaf