-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoSuchNodeTypeException #320
Comments
Hi!
That'd be visible only in the logfile - the browser compresses whitespace. |
Hi, is it possible for you to try and up a new sling instance and try to create a node anywhere in the bin browser of type vlt:PackageDefinition at path - http://localhost:7501/bin/browser.html ? According to me it shouldn't work unless you go to the path - http://localhost:7501/bin/packages.html and come back to http://localhost:7501/bin/browser.html to create the node, in this case it will work. |
Hi, this issue cannot be solved in our Nodes solution. The VLT extension used in the package manager UI is declaring that node type in a dynamic way. Therefore this type is available after the first use of the VLT extension and not before. |
Right. For the record, from the Sling Mailing list: On Wed, Feb 7, 2024 at 11:08 AM Eric Norman enorman@apache.org wrote:
Instantiating JcrPackageRegistry in the nodes console would be some kind of workaround, but is troublesome with the current module structure. Since this seems a rather rare case where a workaround (opening the Package Manager first) is available, I'll rather not do anything about this (except adding a .trim(), though that doesn't solve this.) |
… unintelligible errors when there is a space.
Hey, I have 3 files which I use to start my sling12 server -
Now, when I start the server everything works fine, but when I go to the bin browser to try and create a node with primary type -
vlt:PackageDefinition
It gives me -
Error - 400 javax.jcr.nodetype.NoSuchNodeTypeException: Node type vlt:PackageDefinition does not exist
But when I go to the packages section in the bin browser and come back to create a node with the same type it is successful.
First of all I don't understand the behaviour of this and how do I fix this as I want that node type on startup?
The composum node version in my feature.json is 4.2.3!
The text was updated successfully, but these errors were encountered: