Bug 1155369

Summary: Fact Model Changes Do Not Register in the Guided Rule Editor
Product: [Retired] JBoss BPMS Platform 6 Reporter: Justin Holmes <jholmes>
Component: Business CentralAssignee: manstis
Status: CLOSED WONTFIX QA Contact: Jiri Locker <jlocker>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0.2CC: kverlaen, manstis, mbaluch
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-12-07 15:40:31 UTC Type: Enhancement
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Justin Holmes 2014-10-22 02:57:14 UTC
Description of problem:
In general, the guided rule editor requires an unreasonable amount of effort in order to reflect changes to the underlying fact model brought on by a new or updated dependency. 

Judging by the logs, issues seem to be related to the below class or a listener/controller that invokes the class.

https://github.com/droolsjbpm/kie-wb-common/blob/master/kie-wb-common-services/kie-wb-common-datamodel/kie-wb-common-datamodel-backend/src/main/java/org/kie/workbench/common/services/datamodel/backend/server/cache/LRUDataModelOracleCache.java 


Version-Release number of selected component (if applicable):


How reproducible:
Every time - although there is multiple paths.

1) A new version is published to Nexus and BC is configured to use that nexus for snapshots. Reproducing this is described below.
2) Uploading a jar

Steps to Reproduce:
1. Open a guided rule asset in Business Central
2. Build and deploy a new fact model to an artifact in a central nexus.
3. Click build and deploy in Business Central on the project to force the loading of the snapshot to the local maven repo.
4. Return the open guided rule asset. 

Actual results:
Model changes in the new snapshot are not represent

Expected results:
Model changes are represented


Additional info:
This greatly effects the usability of the product by non-technical users.