<<

NAME

ProductOpener::DataQualityCommon - check the quality of data common to any type of products

DESCRIPTION

ProductOpener::DataQualityFood is a submodule of ProductOpener::DataQuality.

It implements quality checks that are not specific to a given type of products, and that are thus run for all products.

FUNCTIONS

check_bugs( PRODUCT_REF )

Checks related to issues that are due to bugs that exist or existed in the code.

check_bug_missing_or_unknown_main_language( PRODUCT_REF )

Products that do not have the lc or lang field set, or a lang field set to "xx" (unknown)

lc and lang fields should always be set, but there has been some bugs in the past that caused them not to be set in certain conditions.

check_codes( PRODUCT_REF )

Checks related to the barcodes.

check_packagings( PRODUCT_REF )

Checks related to the packagings information.

check_quality_common( PRODUCT_REF )

Run all quality checks defined in the module.

<<