Skip to content

Feature cardinalities overwrite mandatory group rule #140

@FAuersw

Description

@FAuersw

Hello,
unfortunately i could not find a lot of literature on the exact semantics of feature cardinalities in UVL. As far as i understood, a single feature can be enabled multiple times. In this feature model example ..

features 
    Lunchbox 
        mandatory 
            Sandwich cardinality [0..3]

.. i would expect to have at least one sandwich in every configuration, as the feature is mandatory. But UVLS allows me to disable all sandwich at the same time in a valid configuration.
If i add a constraint Lunchbox => Sandwich it works as i would expect.
I am not sure if this is the intended behaviour but it seems unintuitive to me. What do you think about this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    LanguageIssues related to the language design of UVL

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions