You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When uploaded this file using the Ctrl-P shortcut, the files (nodes) _cq_dialog.xml, _cq_editConfig.xml and myComponents.html got deleted from the JCR. This did not happen when uploading other files individually, or the whole folder.
This also did not happen when I explicitly specified child nodes in the .content.xml file:
So apparently, uploading only .content.xml file into the JCR that does not have child nodes specified results in removing all child nodes from the repository. Perhaps it would be useful to detect such cases (eg. when there are other files in the working directory in the local file system). Then a warning, or an error could be raised, and a --force flag could be required to perform this action (just an idea).
The text was updated successfully, but these errors were encountered:
I've had a following structure of files:
The contents of
.content.xml
was as following:When uploaded this file using the
Ctrl-P
shortcut, the files (nodes)_cq_dialog.xml
,_cq_editConfig.xml
andmyComponents.html
got deleted from the JCR. This did not happen when uploading other files individually, or the whole folder.This also did not happen when I explicitly specified child nodes in the
.content.xml
file:So apparently, uploading only
.content.xml
file into the JCR that does not have child nodes specified results in removing all child nodes from the repository. Perhaps it would be useful to detect such cases (eg. when there are other files in the working directory in the local file system). Then a warning, or an error could be raised, and a--force
flag could be required to perform this action (just an idea).The text was updated successfully, but these errors were encountered: