[jboss-jira] [JBoss JIRA] Created: (JBRULES-1665) put offending rule name in exception messages

Alex McCarrier (JIRA) jira-events at lists.jboss.org
Thu Jul 3 11:35:31 EDT 2008


put offending rule name in exception messages
---------------------------------------------

                 Key: JBRULES-1665
                 URL: http://jira.jboss.com/jira/browse/JBRULES-1665
             Project: JBoss Drools
          Issue Type: Feature Request
          Components: Drl Parser/Builder
    Affects Versions: FUTURE
         Environment: all
            Reporter: Alex McCarrier
         Assigned To: Mark Proctor
            Priority: Minor


It would be nice if drools compiler error messages would include the rule that caused the error.  For instance, predicate eval errors, or "unable to resolve property" errors would state which rule was being evaluated when it encountered an error.  Currently the developer has to go through the rules file looking for lines similar to the one reported in the error.  Also, when it's this much work for a developer to find the offending rule, it is pretty much impossible for business users to figure out which rule they messed up.

If it's at all possible to add the rule name to these error messages, please do so.  It would make our lives a lot easier. :)

-- 
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