Defect HC-16396

getCatalogEntryAttributesByNames does not properly fall back to context language


Customer case Applies to Corrected in
CS0292406 V9.1.8.0

Observed behavior

When a promotion is created which targets products with specific attribute values, error "ORA-01722: invalid number" is raised when a PDP is visited for a product without that attribute.

Expected behavior

There should be no error when executing the SQL query.


The logic that checked for null values for the language did not consider the string "null" being passed in, so the logic to fall back to the context language was not invoked. This has been corrected.