Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

New functions added to RequestRulesUserLibrary.js do not get recognized by WorkBench

SOLVED
Go to solution
Highlighted
dlinetsk
Member

New functions added to RequestRulesUserLibrary.js do not get recognized by WorkBench

Hello,

We've been using RequestRulesUserLibrary.js for quite a long time, and never had issues. However, recently any new function added to the RequestRulesUserLibrary.js in our DEV environment stopped being recognized by workbench. All old functions in RequestRulesUserLibrary.js file are recognized and working.

We have two nodes, both have the same RequestRulesUserLibrary.js file. We tried restarting server, cleaning up tmp/work folders. Nothing helps.

We tried in our TEST environment, and we cannot replicate this issue there. All new functions are getting recognized no problem.

We cannot identify any difference between environments - any ideas where we may need to check/look?

 

Thank you!

1 REPLY
dlinetsk
Member
Solution

Re: New functions added to RequestRulesUserLibrary.js do not get recognized by WorkBench

The issue was resolved. It turned out to be Java cache issue on client's machine. After clearing the java cache the functions are getting recognized by the workbench.

 

//Add this to "OnDomLoad" event