#305 Can not create layered product with latest productmd
Closed: Fixed Opened 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.


Fix in #306.

Commit ad0c3b3a fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/pungi/pungi/issues/305

Please continue any further discussion there.

Metadata