Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-240

ResourceChangeScanner not removing UrlResources

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 5.5.1.Final, 6.0.0.Final
    • 5.5.0.Final
    • None
    • None

    Description

      I am seing that the resources in the KnowledgeBase are being deleted without aparent reason.
      I have some URL resources configured to get it from guvnor using the basic auth.
      It seems this method,
      https://github.com/droolsjbpm/drools/blob/5.5.x/drools-core/src/main/java/org/drools/io/impl/UrlResource.java#L252

      is not including auth parameters to get the last modified date from the resource url. This is causing (in my environment), to get last modified date as 0, and this makes the ResourceChangeScanner to remove the resource from the kbase. I made the fix and seems to work fine in my machine.

      Attachments

        Activity

          People

            mfusco@redhat.com Mario Fusco
            calca_jira Demian Calcaprina (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: