-
Bug
-
Resolution: Done
-
Major
-
0.9.0.Final
-
-
Workaround Exists
-
-
NEW
-
NEW
"Reimport" button in "Dependencies" view doesn't invalidate cache.
Mike wrote:
The "reimport" looks to be incompatible with it's true intention - to invalidate ALL caches. org.guvnor.common.services.project.backend.server.AbstractProjectService.reImport(..) is raising a InvalidateDMOProjectCacheEvent containing the Project ROOT path. However LRUPomModelCache.invalidateProjectCache(..) is checking if the path is that for the pom.xml.. and hence in your scenario "re-import" is not working. There is a workaround; on the Project Editor screen amend the Project's description and save. This will raise a InvalidateDMOProjectCacheEvent containing the path to the pom.xml and the LRUPomModelCache will be cleared. Please also raise a JIRA requesting LRUPomModelCache.invalidateProjectCache(..) is updated to use the Project' in the event and not the path.
- clones
-
RHDM-53 "Reimport" doesn't invalidate cache
- Closed