Defect HC-3144
AccessBean initialization causes SQL errors
Software
Customer case | Applies to | Corrected in |
---|---|---|
CS0118669 | V9.0.1.0 | 9.0.1.12 |
Observed behavior
Multiple access beans are not being initialized correctly, leading to eventual SQL errors when attempting to access the data.
Expected behavior
Access beans need to be properly initialized with catalog entry information.
Resolution
Several access beans: BundleAccessBean, DynamicKitAccessBean, ItemAccessBean, PackageAccessBean, PredefinedDynamicKitAccessBean, ProductAccessBean were updated to properly populate those beans with CatalogEntryEntityCreationData.
Additonally, CatalogEntryEntityBase was updated as part of the above changes.
InventoryAccessBean, BaseItemAccessBean and ItemVersionAccessBean were updated to properly handle missing version values to avoid a potential NullPointerException.