1 Reply Latest reply on Nov 28, 2008 5:56 PM by Ales Justin

    MainDeployerImpl deploy/undeploy using wrong DeploymentConte

    Ales Justin Master

      While fixing Module::reset for Controller::removeAlias,
      I saw that this two cases don't behave the same, all though they should:

      Deployment deployment = ...;
      DeployerClient dc = ...;
      // vs.
      // same for undeploy(ment)

      This was due to the fact that Deployment::name is not necessarily equal to DeploymentContext::name,
      as my ModuleRemoveUnitTestCase test shows.

      I've fixed it to use the right method --> getTopLevelDeploymentContext.

      I guess this is the 2nd bug, which calls for another release. :-(