Bug #4802
closed
KARs in KeplerData/workflows are being parsed on startup
Added by ben leinfelder almost 15 years ago.
Updated over 14 years ago.
Description
When I launch Kepler with a clean cache but with a workflow sitting in my local workflow directory that uses protected KNB data, I am prompted to authenticate.
We should not be prompting people for authentication credentials on startup - only if I try to open the kar file should it be processed.
This used to happen, then it was fixed, now it is back again.
Ben can you email me the workflow that you're having problems with?
This only seems to be a problem with KARS that use the ReportLayoutKAREntryHandler.
I can see the cache() method will eventually call the ObjectManager. is this the culprit that forces parsing of the moml?
ObjectManager om = ObjectManager.getInstance();
NamedObj namedObj = om.getObjectRevision(lsid);
ReportLayoutKAREntryHandler.cache
WorkflowManager.getWorkflows
WorkflowManager.initialize
ObjectManager.getObjectRevision
ObjectManager.getObjectFromCache
CacheObjectInterface.getObject
commented out that bit of code - i believe it is redundant since it is also called in the open() method.
we should keep our eyes out for lost reports and things like that that could crop up as a side effect of not calling this in the cache() method.
I tried this in the gui and on the command line - the reports were still present in both.
Original Bugzilla ID was 4802
Also available in: Atom
PDF