Motivation
Sending a single content item to multiple newsletters would be a very useful feature. It enables a site to have different newsletters that visitors can subscribe to - for example for different roles or different interests - and then the site owners can send content items that are relevant to more than one interest or role without needing to create duplicate content items. Furthermore, subscribers that are on more than one of the target newsletters should only receive a single copy of the email.
Simplenews does currently not allow a single content item to be sent to multiple newsletters; if one attempts to work around this by cloning items with Rules, duplicate emails would get sent to subscribers on both lists.
Proposed solution
Various options...
Multi-valued simplenews_issue field
We would leave the issue field as single-value by default, but fix the code to work if the site-admin alters the cardinality (can do in the normal way through the field settings GUI).
- Fix SpoolStorage to add a loop, and clever SQL code to avoid duplicates.
- The catch with this option is that we now have multiple status/count/handler settings fields. This will need careful handling in the UI (NodeTabForm and SendStatus).
Patch #31 is a start towards this, but has problems described in #39.
New entity type for simplenews_issue
Instead of a simplenews_issue field we could have a separate simplenews_issue entity type. This can have a multi-valued entity reference field but still stick with a single copy of status and count. This would also solve #3053111: Issue status should not be stored on issue entity.
RecipientHandler
Create RecipientHandlerMultiple as described in #40 but it has flaws described in #42.
Issue fork simplenews-2556441
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
jonathanshawWe have started work on this ...
Comment #3
jonathanshawThis in in heavy development and is almost ready - I hope to have something to show within 2 days.
We've had to create a simplenews_issue widget in order to provide the UI for the setting that controls whether the newsletter content type offers only the default single issue, or the new multiple choice.
I had originally thought that could be handled on the simplenews_issue field storage, using the unlimited vs limited setting, but as that field is shared across content types this approach doesn't work.
Comment #4
rubela_shome commentedComment #5
jonathanshawUpdated IS to explain work so far.
Feedback on the basic direction we're going in would be very much appreciated.
Comment #6
berdirSorry for not providing any feedback earlier.
Haven't looked at everything yet, what I don't really like is that you force the field to cardinality multiple and control that in the widget then. I wondering if we can do better. We now have our own field type, and instead of hardcoding that field, I wonder if we can find a way to support multiple fields of that type. We already kind of do in places, see simplenews_get_content_types(), we'd have to for example not hardcode the field name there but loop over them.
Then you could define your own field if you want to send out a newsletter multiple times. Getting there would however probably be quite an efffort. All the hardcoded "->simplenews_issue" logic would have to change.
I'll try to read through the patch soon and provide more feedback. Don't start with implementing that above, I need to think about it some more anyway.
Comment #7
jonathanshawThanks Berdir, your thoughts will be very much appreciated.
You've definitely put your finger on a big point. I was looking for the easy way and was scared to mess with every bit of code that referenced the field. I'm up for doing that if you don't mind guiding a lot.
Comment #8
jonathanshawA few thoughts that occur to me about using multiple fields e.g. simplenews_issue_single and simplenews_issue_multiple.
Comment #9
jonathanshawYou can ignore src/Plugin/Field/FieldType/SimplenewsItem.php and src/Plugin/Field/FieldFormatter/SimplenewsFormatter.php, they're something probably unnecessary done while trying to figure out the widget.
Comment #10
rubela_shome commentedComment #12
jonathanshawNew patch is better, it's dropped some unnecessary additions, so no interdiff provided
Comment #14
rubela_shome commentedComment #16
rubela_shome commentedComment #19
jonathanshawNo idea what "CI error" means in the test failure report. Anyone?
Comment #20
johnchqueMaybe this can solve the problem #2302133: Replace getInfo() in tests with phpDoc. Also please @arit_nath configure your code editor properly, you have a lot of extra lines that should not be there.
Comment #21
rubela_shome commentedComment #23
jonathanshaw@yongt9412 thanks for the feedback. We've fixed the spacing issues (I think), but don't understand the reference to #2302133: Replace getInfo() in tests with phpDoc. We've used an @group simplenews in the docstring before our test class, which is what that issue seems to be about. Can you explain more what you meant? Thanks!
Comment #24
johnchqueThere has been some problems with CI errors, actually I am not sure how exactly we can fix them, maybe the reference is not the fix for it. Besides that, thank you so much for fixing the extra lines but also we should fix the indentation.
The extra indentation here and in some parts of the last patch are considered unrelated changes.
Comment #25
rubela_shome commentedComment #26
rubela_shome commentedComment #27
johnchqueThe indentation looks perfect now.
Comment #29
jonathanshawThanks @yongt9412. Any chance of a review from @Berdir?
Back in #6 he said he would think about the architectural direction we should take. I'd like to have guidance about the way to take this patch forward:
- are the maintainers happy to include this feature using this architecture?
- do they like the feature but want it rearchitected?
- or should it be a separate contrib module, with maybe some necessary adjustments to the simplenews api to allow it?
Given that is seems like a fairly desirable feature, and closely relates to data storage, I imagine it's better to have it in simplenews not a separate contrib module.
(Test fail is just a random I think, so setting to Needs Review.)
Comment #30
miro_dietikerA first try.
It means with large recipient counts you temporary have a list of ALL recipients here - and this for counting only.
I think a grouped query should be possible though.
"Use field label:"? I guess more "Allow multiple:"
Codestyle.. And similarly many other occurrences.
Interesting exclude. It seems to work this way.
Not sure how this fits our receiver pluggability.
We will need to further discuss this request before providing a qualified statement.
Comment #31
rubela_shome commentedComment #33
jonathanshawThanks for the review @miro_dietiker. New patch fixes your #30.1-3.
I'm assuming the test fail is a random.
Comment #34
jonathanshawIt would be really nice to bring this issue to a close while my developer is still available.
The basic questions remain:
- are the maintainers happy to include this feature using this architecture?
- do they like the feature but want it rearchitected?
- or should it be a separate contrib module, with maybe some necessary adjustments to the simplenews api to allow it
@Berdir in #6 said:
"what I don't really like is that you force the field to cardinality multiple and control that in the widget"
I'm wondering if the simple way around that would be to
1) NOT force the field to cardinality multiple; leave it to the users to do that by hand if they want to use this feature.
2) alter the patch so that addFromEntity etc. work whether the cardinality is multiple or single
The result is that the user can leave the field cardinality as single and use the select widget, or set te cardinality to multiple and select the widget form this patch, and either way the email sending works fine.
Comment #35
jonathanshaw@Berdir indicated in #2421409: Once a newsletter has been sent, don't allow editing of simplenews_issue a possible conflict with that issue.
Comment #36
broonA client of mine who has been sending his newsletters with Simplenews for many years now, decided to distinguish between different topics in the future and hence this exact issue became relevant as a newsletter might cover more than one topic.
Thus, I would like to ask about the current state of the possibility to send a single issue to multiple newsletters, ideally with a system preventing user from getting the issue multiple times when subscribed to more than one topic.
So more specific:
Comment #37
jonathanshawHi Paul, I've just been thinking about this recently, and even approached @AdamPS who is an active maintainer.
The best solution at the moment AFAIK is:
If for some reason you can't do everything you need from the RecipientHandler plugin, then you could decorate the spool.storage service instead.
Comment #38
adamps commented@jonathanshaw
Or even better have a single widget that works correctly whatever the cardinality on the field.
@Paul Broon As far as I know this feature is still part of the roadmap. I think the patch in this issue is going in the right direction but I haven't tested/reviewed it and I think it might be missing "preventing user from getting the issue multiple times".
@jonathanshaw #37 I'm dubious about your approach, and feel you might be better following the direction in the patch.
The simplenews_issue field is the key to determine configuration for mail building/delivery and is hard-coded into the code in many places so I think you will be in trouble if that field isn't set. It determines which recipient hander gets called. It determines which newsletter settings get used for "email settings", "sender information", "newsletter subject".
A key question is what does it even mean to send to multiple newsletters. One approach is simply to process each one in turn and I think the patch does that, but then a subscriber will get multiple mails if they are on multiple lists.
So it is tempting to try and avoid duplicates by tracking which subscribers have been added and avoiding adding them again. Beware the "duplicate" emails won't be identical - they can have different subjects, formats, sending info and (crucially) unsubscribe links. So it becomes relevant to determine which newsletter has priority - perhaps newsletters could have a weight and be rearranged in order on /admin/config/services/simplenews?
The unsubscribe link could be replaced with two (similar to MailChimp I think) "manage subscriptions" takes you to /newsletter/subscriptions and "unsubscribe" unsubscribes from all. This change would be desirable even without "multiple newsletters" - if a user subscribed to multiple lists originally, they will be frustrated to have to unsubscribe multiple times (legally GDPR requires that unsubscribe must be as easy as subscribe).
I am willing to review/commit this issue if someone will work on it to resolve outstanding issues.
Comment #39
adamps commentedThanks very much for creating a patch - for sure this is a step in the right direction. I had a quick test and I found some problems.
Comment #40
adamps commentedMy current idea is that this could be solved with a new recipient handler RecipientHandlerMultiple. It would implement a form with a single field "additional newsletters" which is a multi-valued reference to newsletter. It should be possible for RecipientHandlerMultiple->buildRecipientQuery() to avoid sending to the same subscriber twice.
This would need fixes to some of the problems in #3052744: [META] Problems with RecipientHandler.
@Paul Broon You can try to make this work by writing RecipientHandlerMultiple in your own contrib module. If you do please post a link to your code.
Comment #41
jonathanshawThanks so much for all your thoughts on this. My interest is in mailing users so #3052744 is very relevant to me. I will engage a lot on this in coming months.
Comment #42
adamps commentedOn further thought, I see problems with the RecipientHandler approach from #40. Suppose that the main newsletter is set to AA and additional newsletter to BB.
So I am back to favouring the multi-valued field approach. Here's I how I see it working.
The SpoolStorage work should start with fixing some tasks to consolidate code into clear functions within the SpoolStorage service.
Would welcome any comment from @Berdir thanks!
Comment #43
jonathanshawMy current thinking with this is that I don't need to tackle the complexity of sending to multiple newsletters.
I plan this:
A) I will use hooks to create a subscriber for every user and a user for every subscriber (thanks to the decoupled_auth module)
B) I will force the selection of a single newsletter on the node
C) The node will have additional fields (e.g. a taxonomy field, or another multivalue ER field to newsletter entities) containing information that can be used to select the right users/subscribers for the node
D) I will force the recipient handler to be a custom plugin, that selects users/subscribers based on the node fields
So I don't need this issue personally.
==============
But thinking of other people:
I'm not sure it's worth the complexity for simplenews to support sending to multiple newsletters via a multiple cardinality simplenews_issue field.
If we want to deliver a feature like this, it might be best to implement it as a recipient handler and widget for the current single value field:
- have a new simplenews widget that not only allows editors to pick which newsletter configuration they want to use, but also which sets of newsletter subscribers they want to send to. So you can select "A" as the main newsletter to use for format etc but "A, B, C" as the newsletters to use when gathering subscribers. Store the latter information on the handler settings property of the simplenews issue field.
- have a new simplenews_multiple recipient handler that uses these handler settings to build and deduplicate the subscribers from the specified newsletters
Comment #44
adamps commentedIS updated to match latest thinking/comments.
If anyone is keep to work on this issue please let me know.
Comment #45
broonThanks to both on you for suggesting possible solutions to me. I have been deep into developing a new module and didn't have time to look into this issue. I was quite familiar with Simplenews for D7 and even wrote some patches, however, I haven't had time, yet, to dig into the D8 version in order to help a lot.
As this feature is not a hard requirement of my client for the relaunch of their website, I will only start to look into this around mid-June. My approach is to first get a grasp on how Simplenews works in the D8 universe, especially the dependencies Adam mentioned about the hard-coded simplenews_issue field occurrences. All the points are also valid for consideration (like Views of newsletter issues). Right now, it seems like an overwhelming task to get that into core Simplenews.
I'll keep you posted when I start working on it.
Comment #46
manuel garcia commentedWe have a need for this functionality as well.
+1 to making the field work as multivalue. This is what site builders would expect, as is a common pattern.
I poked around a bit with some ideas, to try and understand the situation described in the IS and comments, however its clear that things have moved around quite a bit since the #31 patch...
Looking at
3.x- what would the best approach look like?Comment #47
jonathanshawI think #43 is probably still a reasonable direction. #3052744: [META] Problems with RecipientHandler also has a fair amount of not irreleant background and linked issues. Adam did a lot of work on 2.x+ to enhance the recipient handler plugins so they are quite satisfyingly flexible now. There's some good examples too. Likely a custom field plus a custom recipient handler can satisfy you.
Comment #48
manuel garcia commentedThanks @jonathanshaw, seems like a new field and a custom recipient handler would get the job done for us. I will give it a shot (we'll need to upgrade to 2.x first...)
Comment #49
adamps commented#43/47 seems good to me. To clarify:
simplenews_issuefield type already has atarget_idwhich would be the main newsletter to use for format etc.Comment #50
manuel garcia commentedOK so on and off I've been hacking at this, and so far managed to get a recipient handler going that will send to multiple newsletters selected by the user on an extra entity reference field (referencing newslettters).
So that works great, except in the case where 1 email address is subscribed to multiple newsletters, in which case the email gets sent twice to the same recipient. I have not been able to "deduplicate" on the recipient handler though, has anyone gotten around this?
Here is my code thus far, you'll note that I am extending RecipientHandlerAll - not sure if this is limiting what we can do here or not...
Comment #51
jonathanshawI believe the solution is to use 2.x and extend RecipientHandlerBase, so you can use an entity query which will deduplicate automatically. See modules/simplenews_demo/src/Plugin/simplenews/RecipientHandler for examples.
Actually the maintainer @AdamPS is considering fixing this in the next month; I'm willing to fund the feature but not the test coverage, so if you're willing to fund the tests that would give you a maintained solution very cheaply.
Comment #52
manuel garcia commentedThank you @jonathanshaw,
Very happy to hear you're willing to fund the feature, I have raised your proposal up with the team, and I'm happy to say that we agree to take on the test coverage for it. I now have created a ticket on our backlog for this porpuse. For now we'll will wait on writing the test coverage until we have a clear scenario from @AdamPS and/or a working patch.
Regarding my workaround I ended extending
RecipientHandlerEntityBase, which has done the trick and is cleaner than my previous approach, so thanks for the suggestion there as well. Here it is in case anyone is curious:Comment #53
adamps commentedGreat work from the community here, each person contributing a part.
I expect to start work on this issue soon. The code from Manuel Garcia is a good start thank you. I will post a new patch soon, should be within 1 month.
Comment #54
adamps commentedHere is a patch using recipient handlers.
If the module goes in this direction then it means to reinforce the current assumption that simplenews_issue is single-valued. Therefore I included a simplification, removing a little bit of code for handling multiple values.
However as I re-read the comments I have a concern, see #38. The subscriber of one of the additional newsletters is going to get a message that by all appearances is for a newsletter he didn't subscribe to. Crucially, I think the unsubscribe links are likely to be broken. And it's hard to see how to fix that - maybe the subscriber is subscribed to both B and C, then which one do you unsubscribe from?
The unsubscribe link could be replaced with two (similar to MailChimp I think) "manage subscriptions" takes you to /newsletter/subscriptions and "unsubscribe" unsubscribes from all. This change would be desirable even without "multiple newsletters" - if a user subscribed to multiple lists originally, they will be frustrated to have to unsubscribe multiple times (legally GDPR requires that unsubscribe must be as easy as subscribe).
Comment #55
jonathanshawI'm dubious this approach is the best UX .
I think it's cleaner if: simplenews_issue specifies the format, and this setting (and only this) controls the recipients. A sitebuilder can relabel the simplenews issue field as "format" or hide it altogether to force the default format, and give editors only this handler setting to pick the recipients.
In which case, let's call the setting something like "Recipients" or "Recipient lists" or "Subscribers".
I've often seen a default value given for plugin configuration in a seperate method. Not sure if that's how these plugins work.
Yes, that seems good & right.
That seems valid and important, and potentially affects many/all custom recipient handlers? I'm going to assume you want to address it in a seperate issue though, it's quite a rich subject in its own right and this issue already has a complex history. I opened #3194680: Unsubscribe & Manage links in emails should support custom recipients better for this and have my ideas.
Comment #56
adamps commentedThanks for the comments
1. I agree, done
2. The recipient handler plug-in doesn't have a separate method for defaults.
4. True, there is a general issue. However mostly when I create a newsletter based on a recipient handler then I set it to 'hidden' which removes the unsubscribe URL entirely. Normally with a RH there is no actual list that the subscriber is on or could be removed from. They are getting the mail because they are a member or they bought something or some other condition. It would useful to have #3037139: Add "subscribed reason" explanatory text to newsletter for this case. Other than that it works fine.
There is a specific problem here that is much worse than the general one. In this case, the subscriber is on a list so there ought to be a way for them to leave it. Plus we might have a link but it's broken. However I guess the broken link could be avoided with the 'hidden' trick as above.
I can see two possible solutions:
1) Add each subscriber to the spool with the 'newsletter_id' field set to one of the newsletters that they signed up to. So they will get the 'format' from that newsletter, which is probably mostly good: the email subject line will match something the subscriber agrees they signed up to. This would mean to derive from
RecipientHandlerBaseinstead ofRecipientHandlerEntityBase.2) Go a step further and make this RH a generic "newsletter combiner" - even allowing combining of newsletters that are non-standard RHs themselves. I.e. it calls the
addToSpool()function for each of the target newsletters in turn with some magic to remove duplicates.I'm not sure off the top of my head which one is easier.
Comment #57
jonathanshawThey may be on multiple lists selected for this news issue, so allowing them to unsubscribe from one does not guarantee they will not get news of this kind in the future, which is even worse than not giving a 1 click unsubscribe.
Theoretically one could imagine a message like "you are receiving this because you subscribed to A, B, D. Unsubscribe from these lists", where clicking the link would unsubscribe from all 3 at once.
This could be achieved by either
A) allowing recipient handlers to add unsubscribe text to the spool per recipient, which is the real solution
B) some fancy twig logic in a template (get the subscriptions from the subscriber, the issue newsletters from the issue recipient handler settings, find the overlap)
Either way we'd need an unsubscribe route that can take multiple newsletters as parameters.
However,
(1) any of this seems an API addition outside of any reasonable scope of this issue
(2) I don't think the UX of this direction is actually superior to the already supported approach of having a simple link to the manage page. If you have complex options for subscribers, trying to shortcut them makes it easy for people to get themselves in a mess.
Comment #58
adamps commentedYes #57 all makes sense. However don't forget this part:
It's not so hard: any newsletter with this RH must be set to hidden. Plus as you already said, the newsletter footer should contain the
manage-urltoken. So it's perfectly fine to use the RH if you understand some technical details.However on the other hand it's not so easy:-) By default a newsletter allows any RH and is not hidden. There is no documentation for RHs. The manage token is not present by default and not documented. So I don't think this is ready for commit yet.
I have raised #3195323: Simplify and safeguard configuration of Recipient Handlers which I think we should commit before this one.
Comment #59
adamps commentedThis needs tests. @Manuel Garcia if you would help with that it would be great.
Comment #60
adamps commentedI propose that we can check this into the demo module along with all the other RHs. I feel that's fine because it then seems more like an example idea rather a fully tested solution.
Comment #61
adamps commentedBack to "needs work" for the tests
Comment #62
adamps commentedComment #63
emek commentedWe've been using the patch in #31 for about 2 years (of which around 8 months in production), which has been working well for us. The problem has been that we have not been able to update the module to 2.x.
I looked at that patch and tried to see what needed to be done for our setup to work with 2.x. Basically I just needed to make one minor change to be able to send the newsletter to recipients of the multiple newsletters that is chosen but without sending it twice if one address subscribes to two newsletters.
I will add a patch with the change I made. It looks like the basic idea of that’s in the patch in #60, but modified directly in RecipientHandlerAll.
How would I be able to use the code in #60?
The way we use this functionality is as follows:
We have a content type called Article. Not all articles are supposed to be sent as newletters, so we have a checkbox on it which makes an entity reference field with newsletters visible where it’s possible to select multiple newsletters.
When an Article is saved, if it should send a newsletter we programmatically create a Newsletter issue with the same node title as the Article and a custom body which has a link to the Article and some other text, and just puts the same newsletters in the Newsletter field that was selected on the Article.
The Newsletter issue content type has the Newsletter field (Simplenews issue) set to allow multiple values.
All our newsletters are set to just have the title of the Newsletter issue as the subject of the email. We have modified the twig output of the newsletters to include a custom unsubscribe link which goes to /newsletter/subscriptions so the recipient can manage all their subscriptions. So we don’t have any problems with the title or unsubscribe link being specific to a newsletter.
Comment #64
jonathanshawUse modules/simplenews_demo/src/Plugin/simplenews/RecipientHandler/RecipientHandlerMultiple.php from #60 and put it in a custom module.
If you want to keep using the seperate entity reference field, rather than the configuration settings on the recipient handler plugin, you just change the method like this:
Comment #65
emek commentedThanks for the information!
I have tried RecipientHandlerMultiple and have found the following:
* When I modify the Newsletter field on the Newsletter Issue content type and export configuration the entire default_value setting for the field is emptied and when I view the edit page of the field I can no longer modify the Recipients setting. I have to manually set the handler to simplenews_multipe in configuration and import.
* In settingsForm I had to make the following changes
** Declare $options as an empty array (got an error before I had any newsletters otherwise)
** Change the default default value from NULL to []
* I can no longer have my simplenews_issue field set to allow multiple values, but I can change that since I programmatically create the Newsletter issues, so I can modify my creation to create the handler settings instead.
Has anyone else had problems with the configuration export of the field?
Update:
I have tested on simplytest.me with both the patch which adds the plugin to the demo module and without it, where I have enabled the demo module and when I save the Newsletter field on the Newsletter Issue content type all default value settings gets removed and it's not possible to get them back without manually adding it to config.
Comment #66
jonathanshawI'm trying to use this:
But I'm finding that the selected newsletters in the recipient handler settings are not saving properly most of the time. They save ok immediately after the handler is changed, but not otherwise. The issue appears to be due to the use of a checkboxes element, as other elements seem fine.
Nothing I try to do to massage the checkboxes values when loading them from configuration in the settingsForm() method makes any difference.
If I add an additional element to the form, and make an edit to that, then the checkboxes will save fine. But if I only change a checkbox, the change won't save. It's simply not stored in the database.
I have seen in commerce_payment's PaymentGatewayBase that the checkboxes are massaged with array_filter and array_keys in the submitConfigurationForm() method. But our recipient handler are not yet implementing PluginFormInterface so I have no way of massaging the submitted value.
Comment #67
jonathanshawThere's an easy fix, adding this to the settings form:
But why it's necessary, I've no idea.
Comment #68
adamps commentedVery strange. I expect it would be tricky and non-BC to try and integrate PluginFormInterface at this stage.
There is
WidgetInterface::massageFormValues()which could implemented in IssueWidget. Inspecting that using the debugger might give some insight on what code there would help.I also noticed some mysterious code that I possibly wrote but can't recall now in
IssueWidget::formElement()see the comment "Ensure that the extra properties are preserved." Maybe the checkboxes somehow don't trigger this correctly?Basically I don't really know, and it seems more in need of Drupal core expert than a simplenews one.
I would suggest creating a separate issue if you want to continue the discussion - it seems like a general recipient handler problem.
Comment #69
svenryen commentedI have a few questions about this implementation. It's great that we have this feature, but I'd like to suggest that we use
deltafor storing multiple newsletters, rather than a serialized value insimplenews_issue_handler_settings. This seems counter to normal Drupal best practice. Also when I select a newsletter that allows asimplenews_multipleRecipientHandler, the value in my database for that field is NULL.See the attached screenshot.
Comment #70
jonathanshawThe problem is that "newsletters" are doing double duty as configurations of sending preferences, and lists of recipients. Seperating these concerns would be so much work that it may well never happen. Further, sending a node using 2 configurations would be complicated to implement and understand, so it doesn't realy make sense to have that be a multi value field.
Therefore the solution given here of a single "newsletter" to determine the configuration, but the selection of lists of recipients handled within the settings, is the best that is realistically achievable. It's also more flexible, supporting many more advanced use cases, than simply allowing multiple newsletters.
I'm seeing the same thing. In my case that recipient handler is the only one configured to be available on the selected newsletter. In my testing, the right recipient handler seems to get used because it is the only one available on the newsletter, so there is no impact of it not being stored. Whether this is a bug or feature I'm unsure. Either way, it's probably generic to any recipient handler so I suggest opening a new issue for it.
Comment #71
socialnicheguru commentedthe patch no longer applies to simplenews 4.x
Comment #72
gonzalo2683 commentedHi Jonathan(@jonathanshaw), how are you? I've been facing a similar issue. I implemented a custom handler with checkboxes, but when saving the node for the first time, the values aren't stored in the database. However, if I edit the node and save again, the checkboxes are saved correctly.
I haven't found a solution yet. I saw your comment #67, but what you mentioned didn't work for me.
Do you know any way to address this issue? I would really appreciate any help.
Best regards.
Comment #73
jonathanshaw@gonzalo no idea I'm afraid
Comment #74
paul_serval commentedPatch 63 reroll
Comment #75
paul_serval commentedPatch 63 reroll
Comment #76
socialnicheguru commentedIs there a difference between $74 and #75?