#305 Can not create layered product with latest productmd
Closed: Fixed None Opened 7 years ago by lsedlar.

Latest productmd added a type to base products, but pungi config does not contain that and does not pass anything to productmd validation. This leads to runtime error at compose time.

raise TypeError("%s: Field '%s' has invalid type: %s" % (self.__class__.__name__, field, type(value)))
TypeError: BaseProduct: Field 'type' has invalid type: <type 'NoneType'>

Pungi should use ga as default value, and allow overriding it with base_product_type option.


Login to comment on this ticket.

Metadata