Closed (fixed)
Project:
Mailer Plus (DSM+)
Version:
1.0.0-alpha10
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2022 at 15:00 UTC
Updated:
16 Aug 2022 at 12:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
adamps commentedThanks for the report. I think it will be the same bug when adding any policy that already exists
Comment #3
larisse commentedHi! I was debugging this issue, so I noticed that this error is because the id is seted by '_'.
I have a simple solution to solve this, but I'm not sure if this the better solution, that was generate random values for the id...
If this solution is good, let me know... Because the work now will be just find a way to check if the exist an entity with the id random generated to complete the patch...
Comment #4
larisse commentedComment #5
guedressel commentedThis very config entity (was) defined in https://git.drupalcode.org/project/symfony_mailer/-/blob/1.0.0-alpha4/mo...
It seems to be gone on the 1.x branch now.
Comment #6
adamps commentedI added a proposed resolution to the IS.
The _ policy is still there, just it moved to https://git.drupalcode.org/project/symfony_mailer/-/blob/1.x/config/inst...
Comment #7
Egor Grigoriev commentedHey guys, I want to offer my solution. If I understand correctly, we can only have one policy for one type. I decide to complete form validation for this purpose.
Comment #8
adamps commentedThanks for the patch, that's exactly the right idea.
I tidied up, here is a new version. Please can someone check?
Comment #9
boychev commentedMany thanks for your solution, Egor Grigoriev, AdamPS. Works to me perfectly.
Comment #11
adamps commentedThanks