[jboss-jira] [JBoss JIRA] (DROOLS-240) ResourceChangeScanner not getting UrlResources
Demian Calcaprina (JIRA)
jira-events at lists.jboss.org
Sat Aug 24 16:02:26 EDT 2013
Demian Calcaprina created DROOLS-240:
----------------------------------------
Summary: ResourceChangeScanner not getting UrlResources
Key: DROOLS-240
URL: https://issues.jboss.org/browse/DROOLS-240
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 5.5.0.Final
Environment: java 7. ubuntu.
Reporter: Demian Calcaprina
Assignee: Mark Proctor
Priority: Critical
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list