[JBoss JIRA] Created: (JBCACHE-1200) Node removal with invalidation leaves child data accessible
by Brian Stansberry (JIRA)
Node removal with invalidation leaves child data accessible
-----------------------------------------------------------
Key: JBCACHE-1200
URL: http://jira.jboss.com/jira/browse/JBCACHE-1200
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.1.0.BETA1
Reporter: Brian Stansberry
Assigned To: Manik Surtani
Priority: Critical
Fix For: 2.1.0.CR1
With invalidation, when a node that has children is removed, on remote caches the data in the children is still visible; e..g
cache1.put(childFqn, key, value);
cache1.removeNode(parentFqn);
// This assertion fails
assertNull(cache2.get(childFqn, key));
InvalidationInterceptorTest.testPessimisticNodeRemoval() and testOptimisticNodeRemoval() have been modified to show this issue.
This is a significant problem for the Hibernate/JBC integration
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 9 months
[JBoss JIRA] Created: (JBRULES-1242) Archived package assets cannot be restored
by Shahad Ahmed (JIRA)
Archived package assets cannot be restored
------------------------------------------
Key: JBRULES-1242
URL: http://jira.jboss.com/jira/browse/JBRULES-1242
Project: JBoss Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: drools-brms
Affects Versions: 4.0.1
Reporter: Shahad Ahmed
Assigned To: Mark Proctor
If you archive (i.e. delete) a package, the archived package does not show up in the list of archived assets under the Admin/Manage Archived Assets option. Consequently there seems to be no way of retrieving an archived package definition. I understand that the rules etc in a package are not archived when you archive a package, but I assume the package definition itself should be available in the list of archived assets?
The problem is that if you accidentally archive a package, then you cannot recreate a package with the same name ( it looks as if the BRMS does not allow you to create rules or packages with the same name as archived assets), nor can you retrieve the old package as it is not in the list of archived assets.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 9 months
[JBoss JIRA] Created: (JBRULES-1295) DSL Mapping files does not support comments and empty lines
by Edson Tirelli (JIRA)
DSL Mapping files does not support comments and empty lines
-----------------------------------------------------------
Key: JBRULES-1295
URL: http://jira.jboss.com/jira/browse/JBRULES-1295
Project: JBoss Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Drl Parser/Builder
Affects Versions: 4.0.2
Reporter: Edson Tirelli
Assigned To: Edson Tirelli
Fix For: 4.0.3, 4.1.0
Hi Mark,
I encountered a problem in DROOLS 4.0.2 (I was upgrading from 3.x). The
problem consists in the fact that the DSL syntax has changed, now it
does not accept empty lines, and lines continuing on the new line i.e.:
# this is ok
#
<--- Error, empty line
[then] name = java expression 1 \
java expression 2 <--- Error, it does not recognize anymore "\"
Now, I have a very large DSL file (sorry, I cannot disclose it) and I'm
lazy enough not to edit that one, so instead I patched DROOLs with the
following code (see the attached files). The code I added is a bit ugly
(I'm in a hurry, always in a hurry :( ) I have done some basic tests,
but since they are linked to the files that I cannot disclose (once
again, sorry for that) they are not added here.
Anyway, here's the patch. Feel free to modify the code.
.java - my current version
.old - the svn extracted one
.diff - unified diff
I would have also some comments about the class loaders, but I will need
to confirm that before making any comment.
Hope it will be included (in this form or another) in the next release.
Best Regards,
Radu
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 9 months