RTC 6.0.1 is not updating my conditional script in the web client
Hello,
I been updating my script using the eclipse client, I save it and then when I open the web client and I use the browser debug tool (F12) it seems like is using an old version of my script and not the updated one that I been working on it, I'm using websphere 8.5.5.8 and I have cleaned all temp files and it still running my old script.
I been updating my script using the eclipse client, I save it and then when I open the web client and I use the browser debug tool (F12) it seems like is using an old version of my script and not the updated one that I been working on it, I'm using websphere 8.5.5.8 and I have cleaned all temp files and it still running my old script.
2 answers
what about the effect of the script within eclipse client?.. when the work item is viewed in the eclipse client, does the changed script functionality show up!
i would add some debug statements "console.log" and view the workspace/.metatdata/.log file for the updated print output..
second thing i would try is to switch to some default code and see if starts to reflects on web...
and if it does reflect on web with default code, you may have to review your code..
start adding your code slowly till it stops refreshing... there may be a specific construct or import statement that does not go well with web client...
i would add some debug statements "console.log" and view the workspace/.metatdata/.log file for the updated print output..
second thing i would try is to switch to some default code and see if starts to reflects on web...
and if it does reflect on web with default code, you may have to review your code..
start adding your code slowly till it stops refreshing... there may be a specific construct or import statement that does not go well with web client...
You have to refresh the Browser, at least using CTRL+F5. You should close all work items and open a new one after an update to the script. Check the log files and, as suggested add console log statements if in doubt. Please note, that conditions might be run in a different context compared to calculated values. So debugging and logging might work differently. I remember I had a hard time back then, but I haven't looked at it recently.
Comments
Donald Nong
Mar 02 '16, 8:23 p.m.If you access directly to the JavaScript resource in the browser, do you get the up-to-date version or the old version? How about using a different browser?