terminal42 / contao-node

Manage content centrally as nodes and reuse them everywhere.
MIT License
29 stars 8 forks source link

Copy node doesn't copy content elements #9

Closed saress closed 5 years ago

saress commented 5 years ago

I don't know if this is a bug or a non-existing feature :-)

If you make a copy of an existing node the included content elements are not copied and the new node has no content elements at all.

Best regards, Sares

saress commented 5 years ago

@qzminski: Works, thank you!

saress commented 5 years ago

@qzminski: I run into a problem when copying a content-node, editing and saving it:

An exception occurred while executing 'INSERT INTO tl_cfg_tag (tstamp,name,source) VALUES (1564121024, 'header', 'terminal42_node')': SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry

If I do another "Save" the error disappears. I am using the current release 1.0.2.

saress commented 5 years ago

@qzminski: I have just recognized, that it also happens if I add a new entry:

An exception occurred while executing 'INSERT INTO tl_cfg_tag (tstamp,name,source) VALUES (1564121831, 'content', 'terminal42_node')': SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry

I guess, it is related to the tags-bundle, right? I will reference it here also: https://github.com/codefog/tags-bundle

Thanks!

qzminski commented 5 years ago

Closing in favor of https://github.com/codefog/tags-bundle/issues/19.