Project

General

Profile

Actions

Bug #6545

closed

package_check_install doesn't produce report

Added by Benoît PECCATTE almost 9 years ago. Updated almost 2 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Actions #1

Updated by Benoît PECCATTE almost 9 years ago

From what I read in the source code, package_install_version_cmp_update, which is used by package_check_install cannot work with action="verify"

So the solution to have a proper reporting for this bundle might be to rewrite it.

Explanation:
- the bundle package_install_version_cmp_update create 2 classes "immediate" and "warn" depending in the action parameter
- these classes are local, otherwise they would pollute the entire class namespace
- package installation are called through a "action => do_if_immediate"
- the bundle do_if_immediate base its decision on the classes "immediate" and "warn" which are global and hence will never be defined
- the action will then always be the probable default value : fix

Actions #2

Updated by Nicolas CHARLES almost 9 years ago

classes in bundles are herited in bodies, so local classes are visible in the body
the problem should be something else

Actions #3

Updated by Alexis Mousset over 7 years ago

  • Category set to Generic methods
Actions #4

Updated by Alexis Mousset over 7 years ago

  • Status changed from New to Rejected

Fixed in #8972.

Actions #5

Updated by Alexis Mousset almost 2 years ago

  • Target version changed from 0.x to ncf-0.x
  • Priority set to 0
Actions #6

Updated by Alexis Mousset almost 2 years ago

  • Project changed from 41 to Rudder
  • Category changed from Generic methods to Generic methods
Actions

Also available in: Atom PDF