-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disclaimer box unreliably loading #10
Comments
Please check that you have the most recent version of the widget. There was a similar issue in the initial release that was addressed a month ago: cbdc2f8 If you do have the latest, please check a couple of things:
|
I just re-downloaded and re-added the widget to make sure I had the latest version--indeed I do.
Let me confirm with you that I have integrated this correctly with the off-the-shelf CMV. My process was:
Anything I've missed here? |
It sounds like you have everything setup correctly. I have not been able to reproduce this behavior since the fix that was added a month ago. |
I have this issue as well, though my disclaimer shows up probably about 80% of the time. The other 20% of the time I get the same error message listed above accompanied by the following:
I find that the problem occurs most commonly when I do multiple successive page refreshes (about 5 seconds apart) in the same tab (Chrome 43). I haven't tried to reproduce it in any other browser. |
I'm having the same issue. The behaviour is as reported by mgd722. In addition I also get the following error:
I followed the same installation procedure as the OP |
@mgd722 Are you still experiencing this erratic behavior? The error message suggests to me that there is a timing issue loading the content of the disclaimer not the widget itself. @chernandezCenipalmaOrg At first thought, I don't think your |
@tmcgee I think the |
@chernandezCenipalmaOrg thanks for the additional info. Like the MapInfo widget, the ESRI scalebar widget does numeric formatting so failing in a similar way is plausible. I guess we need to look for a root cause. The disclaimer and the scalebar widgets could be failing due to the same root cause. I am not saying it isn't the disclaimer that is the cause. I just have not seen this myself and there's very little actual code in the widget. Is this a possibility in your implementation: http://gis.stackexchange.com/questions/86674/arcgis-api-for-javascript-error-in-dojo-parser-parse which points to this thread: https://geonet.esri.com/thread/81475 |
@tmcgee I'm still having the issue, but it's very sporadic. None of my users have reported it and it really only seems to come up when I'm trying to debug something. Also, even when it fails to load, the rest of the app still works fine. |
@tmcgee I just switched my content from a div with inline CSS (and a paragraph or two) to |
@mgd722 thanks for the feedback. I'm not sure how to address that within the disclaimer widget. Might be an issue with ContentPane used by the disclaimer widget? |
If you have a lot of html content and are using the |
@tmcgee Yeah, I was going to give that a try but then got pulled away for a bit. I'll load my original html that way some time this afternoon and report back. |
I have the lang="es-ES" in my page. I'm going to test what happens removing it an I'll let you know. |
I just tested lazy loading my html. I was still able to get the error to occur, but it was much less frequent (48 out of 50 refreshes, or 96%, went as expected). The two times it failed to load, I also got this error:
Honestly, it happens so infrequently now (and still only when I do multiple successive refreshes) that I don't really consider it worth much time. |
@mgd722 That's the same error as in the OP which is a timing thing. I'll keep this issue open to track. |
I tested removing the lang="es-ES" attribute from the html tag but the problem persists. |
@chernandezCenipalmaOrg are you using the |
@tmcgee I'm using the |
@chernandezCenipalmaOrg Have you tested to see if your issue is occurring in different browsers? If so, in which browsers have you experienced it? I am wondering if this is specific to one browser (like Internet Explorer 9). Thanks for any input you can provide. |
@tmcgee I use Google Chrome 45.0.2454.93. I also tested with FireFox 40.0.3 and IE 10, and it works perfectly on them. The Issue seems specific to Chrome. |
I'm on Chrome as well (version 45.0.2454.85 m). I haven't tested it thoroughly enough to comment on any other browsers. |
This message only appears for me when using the compact build of the esri JS api, do others have the same behaviour? |
I was having this issue with my custom widgets... been bugging me for months... i put in a small fix by setting a timeout after each widget instantiation which averted the problem 70% of the time. Changing from the compact version of 3.14 to the full version...fixed the problem. Pretty annoying, shouldn't be hard to compact your files correctly.. |
I'm aware this is an old issue but it still happens. Both this and the |
I am trying to use the Disclaimer, but I'm finding it to unreliably load. I'd guess it's showing up maybe 30% of the time I load my map application. When it does not load, I see the following code in the console:
One of the operational layers I'm loading is a large aerial image, and I was thinking the lag experienced loading that layer was causing the Disclaimer not to load. However, even when I do not bring in that aerial layer, the problem still persists.
Thoughts? Thanks!
The text was updated successfully, but these errors were encountered: