- 🇬🇧United Kingdom Dubs
For me, the patch in #6 didn't work - I still see the published revision when I edit with the correct moderation permissions.
I've added one line - please review and see if this is the correct approach :-)
- Status changed to Needs review
almost 2 years ago 7:29pm 23 January 2023 The last submitted patch, 11: 3212500-11-Inline_entity_form_with_content_moderation.patch, failed testing. View results →
- Status changed to Needs work
over 1 year ago 4:10pm 25 April 2023 - 🇧🇪Belgium gilmar.lima Brussels
I've tested this patch it works well, but I've spotted a problem when loading the latest revision of a paragraph, its summary is the published one not the latest version.
I've tried to work around this issue but the template functions available to override the summary are removed from D10, any suggestion on how to overcome this? - Status changed to Needs review
over 1 year ago 2:41pm 13 July 2023 - last update
over 1 year ago 21 pass, 6 fail #11 throws an exception when creating a new entity with the reference field and IEF simple widget.
I've added a simple condition so it will not try to load the latest revision when the entity is null.
- last update
over 1 year ago 26 pass, 2 fail The last submitted patch, 15: 3212500-15-Inline_entity_form_with_content_moderation.patch, failed testing. View results →
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.The last submitted patch, 16: 3212500-16-Inline_entity_form_with_content_moderation.patch, failed testing. View results →
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.- last update
about 1 year ago Patch Failed to Apply - Status changed to Needs work
about 1 year ago 12:49am 23 August 2023 - 🇳🇿New Zealand john pitcairn
Patch applies against 2.x (2.0-rc3) for me, but does not work. The published revision is loaded for editing.
- 🇮🇳India mageshbcet1
@ReINFaTe, patch in #16 works for me. But as mentioned by @gilmar.lima, when loading the latest revision of a paragraph in the node edit form, its summary is the published one not the latest version. Any fix to load the summary of latest revision?
- 🇬🇧United Kingdom khaled.zaidan
@mageshbcet1 and @gilmar.lima, is the label bit still an issue?
I was looking to get this patch over the line, but I just tested now and the latest (draft) label seems to get loaded correctly.
Could you please confirm whether it's still happening? If so, could you please provide some details how to replicate?
I've tried with the referenced entity being a regular node and a paragraph library item (regular paragraph fields don't have an editable label... do they?), in both cases, the draft title was used as label in the edit form.
- 🇮🇳India shreya shetty
I believe we need to consider this issue https://www.drupal.org/project/drupal/issues/3080995 🐛 EntityRepository::getActive does not return a translations most recent revision Needs work and update this patch to work with translations