When greylisting a contact form, the form itself is moved to the "dev" folder, but the fields are still in active.
Is this how it's supposed to work?

When I tried drush cim (on acc/prod), it will delete the forms which isn't OK.
Will csim handle this scenario as expected?

Comments

aspilicious created an issue. See original summary.

aspilicious’s picture

Category: Bug report » Support request

It's more of a support request than a bug report.

swentel’s picture

You will also have to manually select the fields for now because dependencies calculation is not happening here. #2806029: Add free text configuration with wildcards. will add the ability to use wildcards which makes configuring such scenarios way easier as you don't have to manually update the graylist every time a new contact form was added for instance.

Will leave it open as fabian should confirm what I've just written down :)

aspilicious’s picture

Manual actions are useless because each csex command will overwrite the manual actions.

bircher’s picture

Status: Active » Needs review

I added a flag for dependency calculation in the split configuration together with the wildcards.

Remember that you still need to export the split on production before pulling the updated main config.

bircher’s picture

Status: Needs review » Postponed (maintainer needs more info)

since beta2 graylisted items can also include their dependencies.
Could you check again and mark this issue as closed or re-open it?

PS: graylist still needs better documentation

aspilicious’s picture

greylist still is unclear for me.

1) I use latest dev version of drush
2) I configure config split
3) I greylist contact form
4) All the existing contact forms + dependencies get moved to the split config
5) When trying to import on acceptance/production all my contact forms are marked for deletion...

What am I doing wrong?

bircher’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

I guess this is no longer an issue. The documentation has been improved.