Skip to content

Default weight for aluminium pack is heavy --> should be light #12696

@OpenChris

Description

@OpenChris

What

in EnvironmentalScore.pm code suggests that default material for aluminium packaging should be light (worse score) when actual behaviour is heavy because the condition to switch to heavy (empty shape) is flawed because of prior code that sets empty shape to unknown.

Expected behavior

Default should be the worse case i.e. 'light'.
the code should be adapted with something like ’if shape is defined and not “en:unknown” then etc...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status

    To discuss and validate

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions