Skip to content

managesieve cannot enable a filter back #10142

@neil-lcv-cs

Description

@neil-lcv-cs

Prerequisites

  • I have searched for duplicate or closed issues
  • I can recreate the issue with all plugins disabled

Describe the issue

I cought what seems to be a regression in the managesieve plugin. I’m using the Docker latest-fpm image.

Steps to reproduce

  1. Create a basic filter such as this one:Image

  2. Disable the filter using the "filter enabled" toggle, then save.

  3. Try to enable it again using the same toggle, then save.

The filter won't be enabled by clicking Save. The server will return that the filter has been saved successfully, but won't update the filter enabled status.

This is a client-side issue: by checking the POST request using the browser inspector, I can see the browser is sending _enabled: "0" in the form data, even though I checked the toggle.
If I edit the POST data by setting _enabled: "1" and send it again, it enables the filter.

There is no error log, client-side nor server-side.

What browser(s) are you seeing the problem on?

Firefox

What version of PHP are you using?

8.4

What version of Roundcube are you using?

1.6.15

JavaScript errors

None

PHP errors

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions