[PUBLISHING-77] Publishing with versioning fails if subnodes have the same name. Created: 27/Feb/20 Updated: 29/Mar/22 Resolved: 08/May/20 |
|
| Status: | Closed |
| Project: | Publishing |
| Component/s: | None |
| Affects Version/s: | 1.1.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Marc Johnen | Assignee: | Mercedes Iruela |
| Resolution: | Cannot Reproduce | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Ubuntu 19.10, Tomcat 9 |
||
| 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)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: | |
| Team: |
| Description |
|
Publishing with versioning fails if subnodes have the same name.
node /home[2]/footer/0/footerProducts,
info.magnolia.cms.core.version.CopyUtil.importNode(Node, Node)
...
tempPath = RandomStringUtils.randomAlphabetic(16);
Node tempNode = parent.addNode(tempPath);
for (Node child : children) {
NodeUtil.moveNode(child, tempNode);
}
...
All nodes will be moved to tempNode (not including the path) so when moving the second "navigationLinks" it fails because there is already one existing.
ERROR info.magnolia.module.scheduler.CommandJob 26.02.2020 15:27:40 – Cannot execute command {0}
|
| Comments |
| Comment by Mercedes Iruela [ 05/Mar/20 ] |
|
Hi Marc, I am testing this issue but I failed in my attempt to reproduce it. Could you please attach to the ticket an export of the content that you are trying to publish? Thanks. Mercedes |
| Comment by Mercedes Iruela [ 08/May/20 ] |
|
Closed as cannot reproduce it. |