You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When reloading .jar files into resources, we found that if the name of the file did not change (despite being a new version of the file), the Reload Resource button would not pull in the new version.
Expected behavior
Reloading pulls in the files without worrying about the name.
Actual behavior
Seems that reloading still hits the cache somehow
I expect the issue is in DefaultContextFactoryController.java, perhaps here where 'reload' is hardcoded to false. private void resetContextFactory(Set<String> libraryResourceIds, boolean startup) throws Exception { logger.debug("Resetting context factory: libraryResourceIds=" + String.valueOf(libraryResourceIds)); List<URL> libraries = getLibraries(libraryResourceIds, false, startup);
The text was updated successfully, but these errors were encountered:
What is the minimum way to reproduce this problem?
Create a JAR with a simple public void getFoo() method that returns a string. Test that in a channel. Then recompile the JAR to return a different string and reload it. Then on execution it would return the same string. Does that process sound like the right repro steps?
Describe the bug
When reloading .jar files into resources, we found that if the name of the file did not change (despite being a new version of the file), the Reload Resource button would not pull in the new version.
Expected behavior
Reloading pulls in the files without worrying about the name.
Actual behavior
Seems that reloading still hits the cache somehow
I expect the issue is in DefaultContextFactoryController.java, perhaps here where 'reload' is hardcoded to false.
private void resetContextFactory(Set<String> libraryResourceIds, boolean startup) throws Exception { logger.debug("Resetting context factory: libraryResourceIds=" + String.valueOf(libraryResourceIds)); List<URL> libraries = getLibraries(libraryResourceIds, false, startup);
The text was updated successfully, but these errors were encountered: