[jboss-jira] [JBoss JIRA] Resolved: (JBRULES-1290) BRMS does not allow rule names to contain an apostrophe character ( ' )
Jervis Liu (JIRA)
jira-events at lists.jboss.org
Tue May 27 20:30:50 EDT 2008
[ http://jira.jboss.com/jira/browse/JBRULES-1290?page=all ]
Jervis Liu resolved JBRULES-1290.
---------------------------------
Resolution: Done
> BRMS does not allow rule names to contain an apostrophe character ( ' )
> -----------------------------------------------------------------------
>
> Key: JBRULES-1290
> URL: http://jira.jboss.com/jira/browse/JBRULES-1290
> Project: JBoss Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: drools-brms
> Affects Versions: 4.0.2
> Reporter: Phil Verghese
> Assigned To: Jervis Liu
> Fix For: 4.0.8
>
>
> Rules with apostrophe characters are rejected by the BRMS. For example the rule name "Set employee's wage" works outside BRMS, but does not work in BRMS.
> If you attempt to enter a rule through the BRMS containing an apostrophe,the error stack trace says "An error occurred executing the action.
> Details
> com.google.gwt.user.client.rpc.SerializableException:
> javax.jcr.RepositoryException: failed to resolve path Set employee's relative to /drools:repository/drools:package_area/com.example/assets: Invalid name: Set employee's wage: Invalid name: Set employee's wage at
> org.drools.brms.server.ServiceImplementation.createNewRule(ServiceImplementation.java:166)..."
> If you attempt to import a .drl file with a rule that has an apostrophe in the title, you'll get this error message
> (including the <pre> tags): "Unable to import into the package. [<pre>Unable to process import: javax.jcr.RepositoryException: failed
> to resolve path Set employee's wage relative to /drools:repository/drools:package_area/com.soi/assets: Invalid name: Set employee's wage: Invalid name: Set employee's wage</pre>]".
--
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
More information about the jboss-jira
mailing list