stefan-egli commented on code in PR #560:
URL: https://github.com/apache/jackrabbit-oak/pull/560#discussion_r880326706


##########
oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeState.java:
##########
@@ -414,6 +414,11 @@ public String toString() {
      * @param revision the revision this node is created.
      */
     UpdateOp asOperation(@NotNull Revision revision) {
+
+        if (Utils.isNodeNameLong(path, 
store.getDocumentStore().getNodeNameLimit())) {
+            throw new DocumentStoreException("Node name is too long: " + path);
+        }
+

Review Comment:
   yes those lines.
   
   Ok, I'll mark this as resolved. I've double checked again and found no other 
cases calling `isLongPath` (that would now get the name too-long check removed).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to