Skip to content

Commit

Permalink
BZ-1001561 - Changes to data model not picked up
Browse files Browse the repository at this point in the history
  • Loading branch information
wmedvede committed Dec 15, 2013
1 parent 755d1f1 commit 0bf1024
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -496,7 +496,9 @@ private void processDMOChange(@Observes InvalidateDMOProjectCacheEvent evt) {
//filter if the event is related to current project
if (currentProject != null && currentProject.getRootPath().equals( evt.getProject().getRootPath() ) && sessionInfo != null ) {

if (!sessionInfo.equals(evt.getSessionInfo()) || evt.getResourcePath().getFileName().equals("pom.xml")) {
if (!sessionInfo.equals(evt.getSessionInfo())
|| (evt.getResourcePath().getFileName().equals("pom.xml") ||
evt.getResourcePath().getFileName().endsWith(".drl")) ) {
//the project data model oracle was changed because of another user different than me OR
//the modification was done by me, executing in the same session but saving the project
//likely in the project editor.
Expand Down

0 comments on commit 0bf1024

Please sign in to comment.