When changing the weight of the replacement rules, Drupal shows the following error:

An illegal choice has been detected. Please contact the site administrator.

The error is probably caused by the code that was first using a range too wide (-30 to 30), which has been then corrected to a narrower range (-10 to 10).

I am also changing the code to resolve some issues that could verify when JavaScript is not enabled. I will commit the code right after I completed these modifies.

Comments

avpaderno’s picture

I checked the recent commits, but there have never been changes in the range allowed for the replacement rules weight.

This issue is based on what reported in #551762-5: Importing function fails with duplicate key error.

avpaderno’s picture

Category: bug » support
Status: Active » Fixed

I have not gotten any information to understand if this is a bug of the module, and how to solve it (if it is a module bug).

I am changing the category of the report, and marking it as fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.