Bug #6545
closed
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
classes in bundles are herited in bodies, so local classes are visible in the body
the problem should be something else
- Category set to Generic methods
- Status changed from New to Rejected
- Target version changed from 0.x to ncf-0.x
- Priority set to 0
- Project changed from 41 to Rudder
- Category changed from Generic methods to Generic methods
Also available in: Atom
PDF