Location: Resolved Issues

Discussion: WPCAPI.setCachedContentHandling is causing javascript errorsReported This is a featured thread

Showing 4 posts

cpatni
WPCAPI.setCachedContentHandling is causing javascript errors
May 12 2008, 4:21 PM EDT | Post edited: 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?    
ryan_wetpaint
ryan_wetpaint
1. RE: WPCAPI.setCachedContentHandling is causing javascript errors
May 12 2008, 6:56 PM EDT | Post edited: 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 | Post edited: May 12 2008, 10:13 PM EDT
This is the error. It happens when use is not authenticated. So there is no ticket and
WPCAPI.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
ryan_wetpaint
3. RE: WPCAPI.setCachedContentHandling is causing javascript errors
May 13 2008, 12:49 PM EDT | Post edited: 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?    

Related Content

  (what's this?Related ContentThanks to keyword tags, links to related pages and threads are added to the bottom of your pages. Up to 15 links are shown, determined by matching tags and by how recently the content was updated; keeping the most current at the top. Share your feedback on Wetpaint Central.)