Export to GitHub

europa-pso - issue #137

Fix Flaw Manager configuration for Resources in default PlannerConfig.xml


Posted on Aug 17, 2011 by Happy Ox
  1. The default PlannerConfig.xml should include an entry for ResourceThreatManager so that the new resources are handled right away

  2. StandardThreatHandler should only look at Timelines and ignore resources as they generate ordering options by instant, not by token, and that'll lead to crashes. This is done through configuration in the default PlannerConfig.xml, but it's missing Unary and it'll be more robust and clean if it's done in C++ instead.

  3. Wiki docs for resource config need to be updated with a description of ResourceThreatManager. The current docs don't provide enough/accurate info for a user to able to use Resources effectively

Comment #1

Posted on Aug 17, 2011 by Happy Ox

look at issue 36 concurrently.

Comment #2

Posted on May 30, 2012 by Happy Ox

(No comment was entered for this change.)

Comment #3

Posted on Aug 21, 2014 by Swift Hippo

(1) Done in r6744 (2) I strongly disagree with this, since resolving threats by ordering tokens directly isn't necessarily a property of only Timeline and its subclasses. Resources still obey the Object interface. Does this actually generate crashes? Possibly there's a better threat-reporting strategy than what either Object or Resource are using. (3) Should be a new ticket.

Status: Fixed

Labels:
Type-Defect Priority-High Milestone-EUROPA-2.7