Problem/Motivation
In Entity Queue module when we decrease amount of restrict queue for existing amount items, then we are unable to Remove, Reverse, Shuffle, Clear and Save it.
For example, I created a queue where I limited the queue from 1 to 4, then I add items and save it. Then I decrease the queue from 1 to 3. When I back to the created queue and try to edit the items, then is not possible remove, reverse, shuffle, clear and save.
When press Save button then message is displayed: This queue can not hold more than 3 items.
Items: this field cannot hold more than 3 values
Steps to reproduce
- install Entityqueue 8.x-1.2
- create new queue: Structure->Entityqueue ->Add entity queue
- configure entity queue: mark checkbox Simple queue and in Queue settings tab add restrict queue from 1 to 4 and save it
- navigate to entity queue and click on Edit items created queue: Structure->Entityqueue
- add 4 items and Save
- change Restrict queue maximum for 3: Structure->Entityqueue->NameCreatedQueue and Save
- back to created queue and Edit items: Structure->Entityqueue and click Edit items button on right created queue
- button: Remove, Reverse, Shuffle, Clear, not work and when try to Save then message is:
This queue can not hold more than 3 items.
Items: this field cannot hold more than 3 values.
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| error_message.png | 13.89 KB | krzysiek_kd |
Issue fork entityqueue-3258972
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
krzysiek_kd commentedComment #3
beatrizrodriguesComment #4
beatrizrodriguesSorry, I could not proceed in this issue.