Cuba 7.2.20 : updatedBy field not populated on creation while in @Composition

Hi

It appears that updatedBy field is not populated on creation when entity is target of a @Composition, despite updateTs field being populated (with createTs).

One would expect that updatedBy field is populated with value of createdBy on creation like any other entities.

How to reproduce.

@Entity
ProductSellConditions {
}

@Entity
Product {

    @Composition
    ProductSellConditions productSellConditions;

    @PostConstruct
    public void postConstruct(Metadata metadata) {
        setSellConditions(metadata.create(ProductSaleConditions.class));
    }
}

When persisting a new Product instance, Product will have updatedBy field populated while ProductSellConditions will not.

It’s no big deal but I wonder if this is on purpose.

Regards
Michael