- Issue created by @valthebald
- πΊπ¦Ukraine abramm Lutsk
That'd be a nice addition.
I would still ignore some field types though (like entity references) as they could be unsafe to import/export without special handling. - Merge request !88Issue #3414711: Default plugin for fieldable entities. β (Merged) created by valthebald
- Status changed to Needs review
11 months ago 8:29am 16 January 2024 - Status changed to Needs work
11 months ago 9:07am 16 January 2024 - π§π¬Bulgaria valthebald Sofia
Back to needs work because I haven't tested the full flow import then export
- Status changed to Needs review
11 months ago 9:59am 16 January 2024 - πΊπ¦Ukraine abramm Lutsk
Hi valthebald,
I didn't test this yet but the code looks promising. We're going to work on the module issues at Global Contribution Weekend which is happening next week, will probably check it there.
Thank you for your effort!
- π«π·France erwangel
Thank you for this plugin which as it says aims to "reduce the need in custom plugins for each content type"! This MR-88 applied and worked perfectly on D10.2.3 and SCS 1.4.4 for transferring feed entities (type feeds_feed). I just had to change the 'owner' field in the export yaml text ; this is hardcoded, to 'uid'. Perhaps you should set the default name of the entity owner to 'uid' that is more likely to meet than 'owner' or at least set a comment close to the corresponding line in yaml to attract user's attention that they may have to adjust the name of this field. I also had to move by hand the 'source' field which is of type 'uri' but this is rather a general issue, not this plugin's concern, as SCS lacks definition for 'uri' field in SingleContentSyncFieldProcessor.
- π§π¬Bulgaria valthebald Sofia
Updated the fork following the interface change in 1.4.5
- π·π΄Romania vasike Ramnicu Valcea
It seems it helps a lot. I mark as RTBC as it seems to work and also to gain more attention on this very useful feature.
Maybe there could be improvements, but it will be easier to add, once it's part of the module.
Also for specific Custom entities ... if they are "very specific" ... of course Custom PLugins should be created.
- π«π·France erwangel
I agree with Vasike. I'm using this almost daily. Very useful to update nodes between development/stage/live sites, especially when one uses content nodes as landing pages with layout_builder and its settings accordingly.
Can this also work for comment entities like the comment_forum fields that the Forum module uses? What else would need to be added?
- Status changed to RTBC
3 months ago 6:19pm 6 October 2024 Re #13, I tried it and it does not work for comments. (No export option is available for comments even with this path installed.)
- πΊπ¦Ukraine nginex
Comments export and import will be handled in a separate issue π¬ creating a comment exporter plugin Active as it has different structure and relationship
-
nginex β
committed c0e62bc0 on 1.4.x authored by
valthebald β
Issue #3414711: Default plugin for fieldable entities.
-
nginex β
committed c0e62bc0 on 1.4.x authored by
valthebald β
- πΊπ¦Ukraine nginex
Thanks for the contribution, it's a nice improvement, I will commit it as first iteration with possible improvements in the future
- Status changed to Fixed
4 days ago 12:39pm 18 December 2024 Automatically closed - issue fixed for 2 weeks with no activity.