Activity report on

  *[JIRA] Bug SKER4386 - AbstractEnrichmentDirective, if several enrichments 
have the same score only the first is used*

  Scarab Link: http://sesat.no/scarab/issues/id/SKER4386
  Module: Sesat> Kernel


  Activity generated by Mick Semb Wever ([EMAIL PROTECTED]) at 05/29/2008 11:44

  *Reasons for the changes*


  *Attribute changes*
  - "Severity" set to "Minor"
  - "Description" set to:
    "(Original JIRA Id: SEARCH-4386) \\
In some cases, if several enrichments have the same score only one of them is 
used.
   Due to AbstractEnrichmentDirective.java, line ~120. This should return -1 if 
the scores are equal.
   Replace with something similar to (as you suggested):{code}
 int result = (int)((Float)o2.getObjectField(SCORE_KEY) - 
(Float)o1.getObjectField(SCORE_KEY));
 return 0 != result ? result : -1;{code}
   This is probably not a problem in prod since the score system in 2.16.1 is 
more likely to have several enrichments with equal score."
  - "Component" set to "Code - View - Output - Velocity"

-------------------------------------------------------------------------------
_______________________________________________
Kernel-issues mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-issues

Svar til