Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-2328

Resources (decision tables, rules, ...) cannot be loaded from a fragment bundle

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 6.0.2
    • 6.0.1
    • BRE
    • None

    Description

      Description of problem: Resources (decision tables, rules, ...) cannot be loaded from a fragment bundle

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

      How reproducible: Deploy a fragment bundle containing kmodule.xml file, decision table.xml, ... attached to a host which contain the logic to create KieBase, KieSession

      Actual results: KieSession.fireAllRules() = zero

      Additional info: Problem is related to the fact that the OSGIKieModule class loads the resources after parsing the URL. During this process, a fixedlength substring to extract the protocol (bundle://) is used but as the protocol part length can change, this approach does not work. It should be replaced by URL.getPath()

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            cmoullia Charles Moulliard
            Archiver:
            rhn-support-ceverson Clark Everson
            Marek Winkler Marek Winkler (Inactive)
            Marek Winkler Marek Winkler (Inactive)
            Ania Honess, Kris Verlaenen, Marek Baluch, Mario Fusco

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty