Closed (fixed)
Project:
Quick Node Clone
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Oct 2017 at 13:11 UTC
Updated:
29 Nov 2017 at 17:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
StefanPr commentedComment #3
Anonymous (not verified) commentedThanks for the patch! I agree it should duplicate the paragraph instead of linking to the old one.
I will try testing soon to make sure it works. Also I realize the module has no tests currently, so if you can add them and Drupal.org runs them it would add some confidence to the patch. I don't think that will stop me from merging this though so that can be extra credit :)
Comment #4
LaurensV commentedThanks for the patch! Really need this functionality. Is this patch already tested?
Comment #5
LaurensV commentedSeems to work for normal paragraphs:) Doesn't support nested paragraphs though..
Comment #6
Anonymous (not verified) commentedCool, moving this back to needs work for the OP to check into things for nested paragraphs, or someone else if they so please.
Comment #7
Johnny vd Laar commentedIt also doesn't work with translations.
Comment #8
Johnny vd Laar commentedAttached patch fixes the translation issue for me. It changes the title of all translations and also translates the paragraphs.
Still feels like that all this could should actually be inside the createDuplicate function of Node / Paragraphs tho.
Comment #9
Johnny vd Laar commentedFor me the patch worked on nested paragraphs. But the orginal patch did as well.
Comment #11
Anonymous (not verified) commentedThanks guys, it works for me.