[MAGNOLIA-5777] NodeUtil should provide a method to copy a node Created: 20/May/14 Updated: 28/May/14 Resolved: 23/May/14 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | 4.5.19 |
| Fix Version/s: | 4.5.20 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Nils Breunese | Assignee: | Karel Nedoma |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Date of First Response: | |||||||||
| Description |
|
The deprecated ContentUtil class provides a copyInSession(src, dest) method, but its replacement NodeUtil does not offer a method to copy a node. |
| Comments |
| Comment by Jan Haderka [ 20/May/14 ] |
|
NodeUtil provides info.magnolia.jcr.util.NodeUtil.copyInSession(Node, String) is that not enough? |
| Comment by Nils Breunese [ 20/May/14 ] |
|
It doesn't where I'm looking: http://nexus.magnolia-cms.com/content/sites/magnolia.public.sites/ref/4.5.19/magnolia-core/apidocs/info/magnolia/jcr/util/NodeUtil.html |
| Comment by Jan Haderka [ 20/May/14 ] |
|
Oh, I see. It's fixed on 5.x branch with |
| Comment by Nils Breunese [ 20/May/14 ] |
|
Maybe |
| Comment by Jan Haderka [ 20/May/14 ] |
|
Yeah, maybe it can. Let's see. |
| Comment by Roman Kovařík [ 23/May/14 ] |
|
| Comment by Roman Kovařík [ 23/May/14 ] |
|
Please squash to single commit when integrating. |