Skip to content

Clear method does not clear owned settings #85

@Falc

Description

@Falc

I am using this bundle in a project to define a global shipping_cost setting. Since an admin can set a "discounted" shipping cost to specific customers, the setting has ALL scope. This way I can do something like $settings->get('shipping_cost', $user) to retrieve either the specific (customer) shipping cost, or the global one.

The problem appears when an admin wants to remove the specific shipping cost from the customer. It does not get deleted from the database. Instead of that, it is set to the same value as the global one. This creates a problem when the global value changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions