Sign in or 

|
cpatni |
WPCAPI.setCachedContentHandling is causing javascript errors
May 12 2008, 4:21 PM EDT
Phew! It is causing javascript errors and finding it wasn't fun in the pile of changes I made.
Do you find this valuable?
Keyword tags:
application variables
site properties
system preferences
|
|
ryan_wetpaint |
1. RE: WPCAPI.setCachedContentHandling is causing javascript errors
May 12 2008, 6:56 PM EDT
I've tracked down a place where that method certainly could be causing a problem -- but I am not certain that this is the problem you're having. There's a lot that goes on with that flag set.Can you tell us the exact error message you were getting? Do you find this valuable? |
|
cpatni |
2. RE: WPCAPI.setCachedContentHandling is causing javascript errors
May 12 2008, 10:13 PM EDT
This is the error. It happens when use is not authenticated. So there is no ticket andWPCAPI.setCachedContentHandling(true); document.getElementById(cC + "?cellId=" + cN.cellId) has no properties getJSApplication.... (line 171) [Break on this error] document.getElementById(cC+'?cellId='+cN["cellId"]).innerHTML=EC; The call stack: document.getElementById(cC + "?cellId=" + cN.cellId) has no properties Cr("WPC-cellChildren")getJSApplication.... (line 171) (no name)()getJSApplication.... (line 174) Kh("\n\nError ERROR", 0)getJSApplication.... (line 1764) iT()getJSApplication.... (line 825) [Break on this error] document.getElementById(cC+'?cellId='+cN["cellId"]).innerHTML=EC; Do you find this valuable? |
|
ryan_wetpaint |
3. RE: WPCAPI.setCachedContentHandling is causing javascript errors
May 13 2008, 12:49 PM EDT
Thanks for this excellent report. I've identified the problem and will get it into a release soon.
Do you find this valuable?
|