Closed (fixed)
Project:
Queue Mail
Version:
8.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
30 Jun 2020 at 11:03 UTC
Updated:
30 Dec 2022 at 15:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
andriyun commentedPlease check suggested patch
Comment #3
sinn commentedThank you @andriyun for the proposal.
Patch looks good but let's allow just one setting to manage threshold limit. "threshold" value can be set "-1" for unlimited case. Such option can be defined in the description of the field "Queue retry threshold" or option "Limited"/"Unlimited" can be set as first step. See "cardinality" widget implementation in the `core/modules/field_ui/src/Form/FieldStorageConfigEditForm.php`. Also would be nice to have test for it.
Comment #4
sinn commentedComment #5
kybermanHi, I like the single field idea, so I simplified that a little bit more:
- appended "Leave empty for unlimited." to the description
- adding to the queue also if the value is not set (Drupal stores empty number fields as "NULL")
Comment #6
sinn commentedSolution #5 with the tests
Comment #8
sinn commented