Details

    • Steps to Reproduce:
      Hide
      • In some BC project creates a DRL;
      • Use a valid code, for example:
        package com.myspace.testrules;
        
        rule "rulez"
        when
        then 
        end
        
      • Click on validation, it says the rule is fine;
      • Now add a bad import and validate, it will show the error, see:

      • now delete the bad code and validate again, there will be some unknown error:

      • You can even delete the drl and create a new one, you will see the error again when validating the rule
      • the validation works when the rule has only the package declaration
      • create a rule in other project works, but refreshing the page or changing the rule structure will never work
      Show
      In some BC project creates a DRL; Use a valid code, for example: package com.myspace.testrules; rule "rulez" when then end Click on validation, it says the rule is fine; Now add a bad import and validate, it will show the error, see: now delete the bad code and validate again, there will be some unknown error: You can even delete the drl and create a new one, you will see the error again when validating the rule the validation works when the rule has only the package declaration create a rule in other project works, but refreshing the page or changing the rule structure will never work
    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Once the bad import is removed, build the project. Then validation stop to present invalid error messages.

      Show
      Once the bad import is removed, build the project. Then validation stop to present invalid error messages.

      Description

      DRL validation correctly tell us that there's an error when you import a non existing type.

      However, if you delete the bad import and try to validate again the validation will not work and point to errors that does not exist.

      If you build the project it works.

      The attached screencast describes the issue.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                manstis Michael Anstis
                Reporter:
                williamAntonio William Siqueira
                Tester:
                Jozef Marko
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: