Ticket #873 (closed defect: wontfix)

Opened 3 years ago

Last modified 3 years ago

CPSInstaller.setupProduct should be able to handle the reinstall case with CMFQuickInstaller

Reported by: dw@nuxeo.com Assigned to: trac
Priority: P1 Milestone: CPS 3.4.0
Component: CPSInstaller Version: CPS 3.3 branch
Severity: normal Keywords:
Cc:

Description

In CPSInstaller, runExternalUpdater does the following : if not qtool.isProductInstalled(module):

qtool_res = qtool.installProduct(module) self.log("Product %s: %s"%(module, qtool_res,)) return

So if the product is already installed, this code is not run, and we skip to the second part of the method, creating an external method and running it. We lose partly the handling of this product by CMFQuickInstaller!

In the case of isProductInstalled returning True, we should simple try to call reinstallProducts of CMFQuickInstaller.

Change History

08/09/05 14:09:52 changed by atchertchian

See #493, Lennart and I had a discussion about this.

09/14/05 13:44:59 changed by fguillaume

Hopefully this all goes away when #586 (CMFSetup) is done.

10/28/05 14:56:41 changed by tziade

  • milestone changed from CPS 3.4.0 to CPS 3.4.1.

moved to 3.4.1

10/31/05 18:09:35 changed by fguillaume

#1084 was a duplicate of this bug.

03/01/06 20:28:13 changed by fguillaume

  • status changed from new to closed.
  • resolution set to wontfix.
  • milestone changed from CPS 3.4.1 to CPS 3.4.0.

CPSInstaller is obsolete.